Question 79Asked in BPSC TRE 3.0 (2024) Computer Science Class 11-12

Convert the decimal number 1234 to binary, octal, and hexadecimal. Which of the following options correctly represents these conversions?

  1. ABinary: 10011010010, Octal: 2322, Hexadecimal: 4D2
  2. BBinary: 11001110010, Octal: 1712, Hexadecimal: 72A
  3. CBinary: 11100110010, Octal: 1642, Hexadecimal: 3CD
  4. DMore than one of the above
  5. ENone of the above
Show answerHide answer

Correct answer: (A) Binary: 10011010010, Octal: 2322, Hexadecimal: 4D2

Explanation

1234 = 4×256 + 13×16 + 2, so it is 4D2 in hex. In octal, 2×512 + 3×64 + 2×8 + 2 = 1234 gives 2322, and binary 100 1101 0010 is 10011010010.

From BPSC TRE 3.0 (2024) Computer Science Class 11-12 — Previous Year Paper

This is question 79 of BPSC TRE 3.0 (2024) Computer Science Class 11-12 — Previous Year Paper. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.