Logic circuits
Which is the decimal number 13 in binary?
- A1011
- B1101
- C1110
Show answer and explanation
Answer: B. 1101
13 = 8 + 4 + 1, so in binary the 8s, 4s and 1s places are 1, giving 1101. 1011 is 11 and 1110 is 14.
- A. 1011 is 8 + 2 + 1 = 11.
- B. Correct. 8 + 4 + 1 = 13.
- C. 1110 is 8 + 4 + 2 = 14.