N Ngân Lam New member Sep 18, 2021 #1 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
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
K Khang Lê New member Sep 18, 2021 #2 Answer: b Explanation: Total number of decimals to be represented = 10000 = 10$^{4}$ = 2$^{n}$ (where n is the number of bits required) = 2$^{13.29}$. Therefore, the number of bits required for straight binary encoding = 14. Upvote 0 Downvote
Answer: b Explanation: Total number of decimals to be represented = 10000 = 10$^{4}$ = 2$^{n}$ (where n is the number of bits required) = 2$^{13.29}$. Therefore, the number of bits required for straight binary encoding = 14.