Q.

How many bits would be required to encode decimal numbers 0 to 9999 in straight binary codes?

A. 12
B. 14
C. 16
D. 18
Answer» B. 14
Explanation: total number of decimals to be represented = 10000 = 104 = 2n (where n is the number of bits required) = 213.29. therefore, the number of bits required for straight binary encoding = 14.
3.8k
0
Do you find this helpful?
22

Discussion

No comments yet