IGDTUW 2026 — Computer PYQ
IGDTUW | Computer | 2026Convert the decimal number 255 to hexadecimal.
Choose the correct answer:
- A.
FE
- B.
FF
(Correct Answer) - C.
EF
- D.
100
FF
Explanation
The correct option is (b) FF.
Detailed Explanation:
To convert a decimal number to a hexadecimal number (base 16), we divide the number by 16 successively and record the remainders.
In hexadecimal system, the numbers 10 to 15 are represented by letters:
10=A
11=B
12=C
13=D
14=E
15=F
Step-by-step Division:
Divide 255 by 16:
16255=15 with a remainder of 15
The quotient is 15, which is less than 16, so division stops here.
Writing the Hexadecimal Value:
The final quotient is 15, which corresponds to F.
The remainder is 15, which also corresponds to F.
Reading from the last quotient to the first remainder gives:
(255)10=(FF)16
Therefore, the decimal number 255 in hexadecimal is FF.
Explanation
The correct option is (b) FF.
Detailed Explanation:
To convert a decimal number to a hexadecimal number (base 16), we divide the number by 16 successively and record the remainders.
In hexadecimal system, the numbers 10 to 15 are represented by letters:
10=A
11=B
12=C
13=D
14=E
15=F
Step-by-step Division:
Divide 255 by 16:
16255=15 with a remainder of 15
The quotient is 15, which is less than 16, so division stops here.
Writing the Hexadecimal Value:
The final quotient is 15, which corresponds to F.
The remainder is 15, which also corresponds to F.
Reading from the last quotient to the first remainder gives:
(255)10=(FF)16
Therefore, the decimal number 255 in hexadecimal is FF.
