Question
Three floating point numbers and are stored in three registers and , respectively in IEEE 754 single precision format as given below in hexadecimal:
, , and
Which of the following option(s) is/are CORRECT?
Official answer and solution
- Official answer
- A, B and C
- From
- Official GATE 2025 answer key
Solution
Decode each 32-bit IEEE 754 single-precision hexadecimal value using .
Decoding each 32-bit IEEE 754 single-precision value (1 sign bit , 8 exponent bits , 23 fraction bits ):
- :
- , , .
- .
- :
- , , .
- .
- :
- , , .
- .
Checking each equation for :
- (A): (TRUE).
- (B): (TRUE).
- (C): (TRUE).
- (D): (FALSE).
Options (A), (B), (C)
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2025 Computer Science and Information Technology - Session 2 (CS2)
- Question
- 49 of 65
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.