Skip to content

GATE CS 2009 Q5 — Number Representations (Fixed and Floating Point)

Explain with AI

(1217)8(1217)_8 is equivalent to

Choose one option
View worked solution

Answer: B

To find the equivalent value of the octal number (1217)8(1217)_8, we can convert it to binary first, and then group the bits to find its hexadecimal representation.

Step 1: Convert Octal to Binary

Each octal digit corresponds to a 33-bit binary number:

  • 1→0011 \rightarrow 001
  • 2→0102 \rightarrow 010
  • 1→0011 \rightarrow 001
  • 7→1117 \rightarrow 111

Combining these, we get:

(1217)8=(001 010 001 111)2(1217)_8 = (001\ 010\ 001\ 111)_2

Step 2: Convert Binary to Hexadecimal

Group the binary digits into groups of 44 starting from the right (least significant bit):

0010⏟21000⏟81111⏟F\underbrace{0010}_{2} \quad \underbrace{1000}_{8} \quad \underbrace{1111}_{\text{F}}

Thus, the hexadecimal representation is (28F)16(28\text{F})_{16}, which can be written with a leading zero as (028F)16(028\text{F})_{16}.

Therefore, the correct option is B.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Number Representations (Fixed and Floating Point) questions