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) 18I had been asked this question in an interview.My question is taken from Binary Coded Decimal(BCD) topic in chapter Number System and Codes of Digital Circuits

Answer»

Correct CHOICE is (b) 14

Easiest 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.



Discussion

No Comment Found

Related InterviewSolutions