What is the hexadecimal equivalent of the binary number 10111010?

2024

What is the hexadecimal equivalent of the binary number 10111010?

  1. A.

    BA

  2. B.

    9A

  3. C.

    A9

  4. D.

    AB

  5. E.

    B8

Attempted by 45 students.

Show answer & explanation

Correct answer: A

To convert a binary number to hexadecimal, group the bits into nibbles of 4, starting from the right, then convert each nibble to its hex digit.

Binary: 1011 1010

Left nibble 1011 = 8 + 0 + 2 + 1 = 11 = B

Right nibble 1010 = 8 + 0 + 2 + 0 = 10 = A

So 10111010 = BA in hexadecimal.

Check (via decimal): 10111010 = 128 + 32 + 16 + 8 + 2 = 186, and 186 = (11 x 16) + 10 = (B x 16) + A = BA. Hence the answer is BA.

Explore the full course: Up Police Computer Operator