The representation of the value of a 16-bit unsigned integer \(X\) in…

2017

The representation of the value of a 16-bit unsigned integer \(X\) in hexadecimal number system is BCA9. The representation of the value of \(X\) in octal number system is

  1. A.

    571244

  2. B.

    736251

  3. C.

    571247

  4. D.

    136251

Attempted by 796 students.

Show answer & explanation

Correct answer: D

Method: Convert hexadecimal to binary, then group into 3-bit blocks to get octal.

  • Step 1 — Hex to binary: B = 1011, C = 1100, A = 1010, 9 = 1001 → combined binary: 1011110010101001.

  • Step 2 — Pad to a multiple of 3 bits: add two leading zeros → 001011110010101001

  • Step 3 — Group into 3-bit blocks and convert each to an octal digit:

    001 → 1, 011 → 3, 110 → 6, 010 → 2, 101 → 5, 001 → 1

    Result: octal 136251

  • Optional check: Hex BCA9 = decimal 48297, and converting 48297 to octal also gives 136251, confirming the result.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Gate Guidance By Sanchit Sir