Computer Science for IGCSE & O level - Data Representation (Section 12 - No. 4)

What is the decimal equivalent of the binary number 10101?
21
22
16
17

Explanation

10101 in binary is (1*16) + (0*8) + (1*4) + (0*2) + (1*1) = 16 + 4 + 1 = 21.

Comments (0)

Advertisement