The decimal number 31 is equivalent to the binary number?

  • A11111
  • B10001
  • C10000
  • DNone of these
Show answerHide answer

Correct answer A

31 in binary: 31 ÷ 2 = 15 R1 15 ÷ 2 = 7 R1 7 ÷ 2 = 3 R1 3 ÷ 2 = 1 R1 1 ÷ 2 = 0 R1 → 11111₂.