###### Question 4275 – UGC NET CS 2005 june-paper-2

November 16, 2023###### Question 7965 – GATE 2017 [Set-2]

November 16, 2023# Question 7962 – GATE 2017 [Set-2]

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

Correct Answer: A

Question 1 Explanation:

X = (BCA9)

Each hexadecimal digit is equal to a 4-bit binary number. So convert

X = (BCA9)

Divide the binary data into groups 3 bits each because each octal digit is represented by 3-bit binary number.

X = (001 011 110 010 101 001)

X = (136251)

_{16}Each hexadecimal digit is equal to a 4-bit binary number. So convert

X = (BCA9)

_{16}to binaryDivide the binary data into groups 3 bits each because each octal digit is represented by 3-bit binary number.

X = (001 011 110 010 101 001)

_{2}**Note**: Two zeroes added at host significant position to make number bits of a multiple of 3 (16 + 2 = 18)X = (136251)

_{8}136251

736251

571247

136252

Subscribe

Login

0 Comments