DLD Assignment 2
DLD Assignment 2
(a) 100001 (b) 100111 (c) 101010 (d) 111001 (e) 1100000 (f) 11111101 (g) 11110010 (h) 11111111
(a) 110011.11 (b) 101010.01 (c) 1000001.111 (d) 1111000.101 (e) 1011100.10101 (f) 1110001.0001
(g) 1011010.1010 (h) 1111111.11111
6. What is the highest decimal number that can be represented by each of the following numbers
of binary digits (bits)?
(a) two (b) three (c) four (d) five (e) six (f) seven (g) eight (h) nine (i) ten (j) eleven
7. How many bits are required to represent the following decimal numbers?
(a) 5 (b) 10 (c) 15 (d) 20 (e) 100 (f) 120 (g) 140 (h) 160
a) 121 b) 232 c) 453 d) 908 d) 987 e) 543 f) 888 g) 230 h) 179 i) 766 j) 621