Which of the following is the binary coded decimal equivalent of 13?
The binary coded decimal format is widely used in computing and in electronics. It is a method of encoding where each digit of the decimal number is represented by its binary sequence. The digits from 0 to 9 can be represented as sequences of 4 bits.
0 is 0000
1 is 0001
9 is 0111
This encoding occupies more space for the same number but is easier to use in decimal operations and when encoding has been done to print characters or display them.
For 13 the the binary encoding uses the sequence for 1 which is 0001 followed by that for 3 which is 0011.
The resultant BCD code is 00010011. The correct option is d.