What is the binary number for decimal number 9?

2020

What is the binary number for decimal number 9?

  1. A.

    1100

  2. B.

    1001

  3. C.

    0111

  4. D.

    1011

Attempted by 161 students.

Show answer & explanation

Correct answer: B

To convert 9₁₀ to binary, write it as powers of 2: 9 = 8 + 1 = 2³ + 2⁰. Therefore, the bits for 2³ and 2⁰ are 1 and the bits for 2² and 2¹ are 0, giving 1001₂.

Explore the full course: Nta Ugc Net Paper 1