StreakPeaked· Practice

ExamsGATETechnical

Three floating point numbers X, Y, and Z are stored in three registers Rₓ, R_y, and R_z, respectively in IEEE 754 single precision format as given below in hexadecimal: Rₓ = 0xC1100000, R_y = 0x40C00000, and R_z = 0x41400000 Which of the following option(s) is/are CORRECT?

  1. 4(X + Y) + Z = 0
  2. 2Y - Z = 0
  3. 4X + 3Z = 0
  4. X + Y + Z = 0

Correct answer: 2Y - Z = 0

Solution

The equation 2Y - Z = 0 is correct because when you calculate the values of Y and Z from their hexadecimal representations, you find that doubling Y results in the same value as Z, confirming the equality.

Related GATE Technical questions

⚔️ Practice GATE Technical free + battle 1v1 →