Beruflich Dokumente
Kultur Dokumente
Exercise No.1
2. Add and multiply the following numbers in the given base without converting to decimal.
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) (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
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
14. Compare the ranges of two floating point numbers, wherein one case the exponent is 12-bit
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
20. Convert the decimal number +119 and -119 into equivalent binary number using: