Chapter 1 Assignmnet - 2
Chapter 1 Assignmnet - 2
0
0
1
Digital Fundamental
0 Chapter-1 Assignment -2
2
1 1. Obtain the 1’s and 2’s complements of the following binary numbers:
2 (a) 00010000 (b) 00000000 (c) 11011010 (d) 10101010 (e) 10000101 (f) 11111111
2. Find the 9’s and the 10’s complement of the following decimal numbers: (a) 25,478,036 (b) 63,
325, 600 (c) 25,000,000 (d) 00,000,000.
3. Perform subtraction on the given unsigned numbers using the 10’s complement of the
subtrahend. Where the result should be negative, find its 10’s complement and affix a minus
sign. Verify your answers.
4. (a) 4,637 – 2,579 (b) 125 – 1,800 (c) 2,043 – 4,361 (d) 1,631 – 745
5. Do as following
(a) Find the 16’s complement of C3DF.
(b) Convert C3DF to binary.
(c) Find the 2’s complement of the result in (b).
(d) Convert the answer in (c) to hexadecimal and compare with the answer in(a).
6. Perform subtraction on the given unsigned binary numbers using the 2’s complement of the
subtrahend. Where the result should be negative, find its 2’s complement and affix a minus
sign.
(a) 10011 – 10010 (b) 100010 – 100110 (c) 1001 – 110101 (d) 101000 – 10101
7. Hexadecimal addition
8.Add the following binary numbers:
9. Binary subtraction
a. 1010101.10 from 1111011.11
10 . Do as directed
a. (162)8+ (537)8
b. (67.5)8+ (45.6)8
c. (256)8 + (565)8
d. Add 599 and 984 using BCD numbers.
e. Add 184 and 576 using BCD numbers.
f. Add 983 and 187 using Excess 3 addition
g. For 984 and 599, Find Excess 3 Addition method
11. The state of a 12‐bit register is 100010010111. What is its content if it represents(a) Three decimal
digits in BCD? (b) Three decimal digits in the excess‐3 code? (c) Three decimal digits in the 84‐2‐1
code? (d) A binary number
12. For using an even and even parity. What should the binary word “1010” look like after you add a
parity bit?
13. One 8421 code word is transmitted in Hamming code with even parity checking. The received word
is 0101000. Find out the correct code word and write decimal equivalent.
14. Construct Hamming code for BCD 0110. Use even parity.
15. divide 10010112÷ 112
16. 100102÷112
20. The message below coded in 7 bit Hamming code is transmitted through a noisy channel. Decode
the message assuming that at most a single error occurred in each code word.
1001001,0111001,1110110,0011011
21. In even parity scheme which of the following contain error?
a. 10101010 b. 1110110 c. 11101010