Bird
0
0

What is the binary representation of the decimal number 5?

medium📝 Analysis Q13 of 15
Intro to Computing - How Data is Represented
What is the binary representation of the decimal number 5?
A100
B110
C111
D101
Step-by-Step Solution
Solution:
  1. Step 1: Convert decimal 5 to binary

    Divide 5 by 2: 5 ÷ 2 = 2 remainder 1 (LSB), 2 ÷ 2 = 1 remainder 0, 1 ÷ 2 = 0 remainder 1 (MSB). Reading remainders from MSB to LSB gives 101.
  2. Step 2: Verify the binary value

    Binary 101 = (1x4) + (0x2) + (1x1) = 4 + 0 + 1 = 5 decimal.
  3. Final Answer:

    101 -> Option D
  4. Quick Check:

    Decimal 5 = Binary 101 [OK]
Quick Trick: Divide by 2, track remainders from bottom up [OK]
Common Mistakes:
  • Reading remainders top-down instead of bottom-up
  • Mixing up binary digits
  • Choosing closest but incorrect binary number

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Intro to Computing Quizzes