Computer Sciences > GATE 2026 SET-1 > Floating Point Representation
Consider the real valued variables X, Y and Z represented using the IEEE 754 single-precision floating-point format. The binary representations of X and Y in hexadecimal notation are as follows:
X: 35C00000     Y: 34A00000

Let Z = X + Y.
Which one of the following is the binary representation of Z, in hexadecimal notation?
A
35C80000
B
35CC0000
C
35E80000
D
35EC0000

Correct : c

Step 1 — Decode X = 35C00000:
In binary: 0 01101011 10000000000000000000000
Exponent = 107 − 127 = −20. Mantissa = 1.12 = 1.5
X = 1.5 × 2−20 = 1.10000 × 2−20
Step 2 — Decode Y = 34A00000:
In binary: 0 01101001 01000000000000000000000
Exponent = 105 − 127 = −22. Mantissa = 1.012 = 1.25
Y = 1.25 × 2−22 = 1.010 × 2−22
Step 3 — Align exponents:
Shift Y right by 2 to match X''s exponent −20:
Y = 0.01010 × 2−20
Step 4 — Add mantissas:
1.10000 × 2−20
0.01010 × 2−20
= 1.11010 × 2−20
Step 5 — Encode Z:
Sign = 0, Exponent = −20 + 127 = 107 = 011010112
Mantissa field = 1101 0000 0000 0000 0000 000
Full bits: 0 01101011 11010000000000000000000
= 0011 0101 1110 1000 0000 0000 0000 0000
= 35E80000
Correct answer: C — 35E80000.

Similar Questions

Three floating point numbers X, Y, and Z are stored in three registers RX, Ry, and Rz, respectively in IEEE 754 single precision format as given below in hexade...
#1456 MCQ
A palindrome is a word that reads the same forwards and backwards. In a game of words, a player has the following two plates painted with letters. From...
#1 MCQ
Which number does not belong in the series below? 2, 5, 10, 17, 26, 37, 50, 64
#4 MCQ

Related Topics

IEEE 754 single precision floating point GATE 2026 GATE CS 2026 Set-1 Q42 floating point addition 35C00000 34A00000 GATE Z=X+Y IEEE 754 hex result computer organization floating point GATE 2026 exponent alignment mantissa addition IEEE 754

Unique Visitor Count

Total Unique Visitors

Loading......