Vous êtes sur la page 1sur 3

ECL202 - DIGITAL CIRCUITS

Exercise No.1

1. Write the first 20 decimal digits in base 3.

2. Add and multiply the following numbers in the given base without converting to decimal.

(a) (1230)4 and (23)4

(B) (1354)6 and (432)6

(C) (367)8 and (715)8

(D) (296)12 and (57)12

3. Convert the decimal number 250.5 to base 3, base 4, base 7, base 8 and base 16.

4. Convert the following decimal numbers to binary 12.0625, 104, 673.23 and 1998.

5. Convert the following binary numbers to decimal 10.10001, 101110.0101, 1110101.110, and

1101101.111.

6. Convert the following numbers from the given base to the base indicated:

(A) Decimal 225.225 to binary, octal and hexadecimal.

(B) Binary 11010111.110 to Decimal, Octal and Hexadecimal.

(C) Octal 623.77 to Decimal, binary and hexadecimal.

(D) Hexadecimal 2AC5.D to decimal, octal and binary.

7. Convert the following numbers to decimal.

(a) (12121)3 (B) (1032.2)4 (C) (8.3)9 (D) (0.342)6 (E) (198)12

8. Obtain the 1’s and 2’s complement of the following binary numbers:

(A) 1010101 (B) 011000 (C) 0000001 (D) 10000 (E) 0000

9. Find the 10’s complement of (935)11.


10. Perform the subtraction with the following binary numbers using:

(1) 2’s complement and

(2) 1’s complement.

Check the answer by straight subtraction

(A) 11010-1101 (B) 10010-10011

(C) 11010-10000 (D) 100-110000

11. Prove the procedure for the subtraction of two numbers with (r-1)’s complement.

12. Represent the decimal number 8620 (a) In BCD (b) In excess code (c) In 2421 code and (d)

As a binary number.

13. Determine the odd parity bit generated when the message consists of the ten decimal digits

in the 8421 code.

14. Compare the ranges of two floating point numbers, wherein one case the exponent is 12-bit

binary & in the other case the exponent is 12-bit BCD.

15. Assume that X is the 2’s Complement of n-bit binary number Y. Prove that the 2’s

compliment of X is Y.

16. Write a brief note on error detecting codes with an example. How do they differ from error

correcting codes?

17. Encode each of the ten decimal digits using the weighted binary codes:

(i) 4, 4, 1, -2

(ii) 7, 4, 2, -1

18. Given the following weighted codes:

(i) (8, 4, -3, -2)

(ii) (7, 5, 3, -6)


(iii) (6,2,2,1)

Determine whether any one of these is self complementary.

19. Carry out the following conversion.

(i) (DBCA)16 to decimal.

(ii) (157.58)10 to binary

(iii) (1011101011.1001) 2 to octal

(iv) (-609.73)10 in to BCD

(v) (10101011)2 into its 2’s complement.

20. Convert the decimal number +119 and -119 into equivalent binary number using:

(i) Signed magnitude representation.

(ii) Signed 2’s complement representation.

The binary numbers are to be stored in an 8-bit buffer register.