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.

## (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:

## 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:

## (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

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

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

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