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

What is the value of the binary number 101010 in decimal?
42
32
16
8

Explanation

101010 = (1 * 32) + (0 * 16) + (1 * 8) + (0 * 4) + (1 * 2) + (0 * 1) = 32 + 8 + 2 = 42.

Comments (0)

Advertisement