Professional Documents
Culture Documents
Ec312 - Digital Electronics Tutorial Sheet - 1
Ec312 - Digital Electronics Tutorial Sheet - 1
Ec312 - Digital Electronics Tutorial Sheet - 1
Tutorial Sheet 1
6. Convert the following decimal numbers to binary, to a maximum of six places after the decimal:
(a) 56.32 (b) 15.97
8. A company has (13)r departments and each department has (24)r number of employees. Company is also having
(41)r security guards. The total strength of the company including security guards is (1013)r. What is the value of r?
9. Calculate 9's and 10's complements on the following decimal numbers represented with 8 digits.
a) 12349876 b) 00000000
10. Perform the subtraction with the following unsigned decimal numbers by taking the 10's complement
of the subtrahend.
a) 5250 - 1321 (4 digits) b) 1753 - 8640 (4 digits)
c) 20 - 10 (2 digits) d) 1200 - 250 (4 digits)
12. Perform the subtraction with the following unsigned binary numbers by taking the 2s complement of
the subtrahend.
a) 11010 -10000 (5 digits) b) 100- 110000 (6 digits)
13. Subtract the following unsigned binary numbers using 1s complement method
a) 1010100 1000100 b) 1000100 - 1010100
15. Convert the following (i) Binary codes to Gray Code and then (ii) Gray codes to Binary code .
a) 1100 1010 b) 0101 1100