The GATE Grind

GATE 2022 CS – Question 41

Computer Organization and Architecture · Number Representation and Floating Point Arithmetic · 2 marks · Multiple choice

Consider three floating point numbers $A$, $B$ and $C$ stored in registers $R_A$, $R_B$ and $R_C$, respectively as per IEEE-754 single precision floating point format. The 32-bit content stored in these registers (in hexadecimal form) are as follows.
$R_A$ = 0xC1400000, $R_B$ = 0x42100000, $R_C$ = 0x41400000
Which one of the following is FALSE?

  1. $A+C=0$
  2. $C=A+B$
  3. $B=3C$
  4. $(B-C)>0$

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (B) $C=A+B$

Explanation

Decoding gives A = −12, B = 36 and C = 12. Then A + C = 0 and B = 3C are true, and B − C = 24 > 0 is true. But A + B = 24 ≠ C, so B is false.