Assignment No. 1
Semester Spring 2013
Digital Logic and Design – CS302
Objective:
The assignment has been designed to develop the understanding related to the followings,
- Binary conversion and addition
- BCD conversion and addition
Instructions:
Please read the following instructions carefully before solving & submitting assignment:
It should be clear that your assignment will not get any credit (zero marks) due to followings,
1. The assignment is submitted after due date.
2. The submitted assignment does not open or file is corrupt.
3. The assignment not submitted in MS Word file format.
4. The assignment is copied (from other student or copied from handouts or internet).
5. Student ID is not mentioned in the assignment file or name of file is other than student ID.
For any query about the assignment, contact only at CS302@vu.edu.pk
Do not post queries related to assignment on MDB.
Question 1 [5 Marks]
Convert the decimal numbers “129” and “478” into their equivalents in the followings:
a. Binary
b. BCD
(Show complete conversion steps)
Question 2 [5Marks]
a. Perform binary addition of “129” and “478”
b. Perform BCD addition of “129” and “478”
(Show complete addition steps)
Question 3 [10Marks]
Fill the empty columns in the table by performing each operation against each row.
A | B | C | X = NOT(A XOR B) | Y = B XOR C | X AND Y |
0 | 0 | 0 | |||
0 | 0 | 1 | |||
0 | 1 | 0 | |||
0 | 1 | 1 | |||
1 | 0 | 0 | |||
1 | 0 | 1 | |||
1 | 1 | 0 | |||
1 | 1 | 1 |
0 comments
Post a Comment