Which of the following represents the binary equivalent of the decimal number 23?
A01011
B10111 ✓ Correct
C10011
DNone of the above
Correct answer: (B) 10111
Explanation
The decimal number 23 in binary is 10111, since 16 plus 4 plus 2 plus 1 equals 23.
The pattern 01011 equals 11 in decimal, not 23.
The pattern 10011 equals 19 in decimal, not 23.
Since a correct pattern exists, none of the above does not apply.
Each binary place stands for a power of two that is added together.
Add-on: 23 can also be written as the hexadecimal value 17.
Want more like this? Create a free account to practise a full test, track your progress, and get spaced-repetition review.
Practise on Mcqkart →🎓 Book an expert →