Consider the following single precision floating point numbers and the operation.
X : (35C00000)H
Y : (34A00000)H
Z =X+Y
What is the value of ’Z’ in hexadecimal?
Solution :
The correct option is (35E80000)H.
To find the value of in hexadecimal, we first need to decode the IEEE 754 single-precision floating-point representations of and , perform the addition, and then encode the result back into single-precision hexadecimal format.
Step 1: Understand the IEEE 754 Single-Precision Format
A 32-bit single-precision floating-point number is represented as:
- Sign bit (S): 1 bit (MSB)
- Biased Exponent (E): 8 bits
- Mantissa/Fraction (F): 23 bits
The value represented is given by: (for normalized numbers).
Step 2: Decode X = (35C00000)H
Converting the hex value to binary:
Remaining zeros:
Thus, the 32-bit binary representation of X is:
Grouping into IEEE 754 fields:
- Sign bit (): (Positive number)
- Exponent (): in binary = in decimal.
- Fraction ():
So, in binary.
Step 3: Decode Y = (34A00000)H
Converting the hex value to binary:
Remaining zeros:
Thus, the 32-bit binary representation of Y is:
Grouping into IEEE 754 fields:
- Sign bit (): (Positive number)
- Exponent (): in binary = in decimal.
- Fraction ():
So, in binary.
Step 4: Perform Addition Z = X + Y
To add the two numbers, we align their exponents to the larger exponent, which is (from ).
We express with an exponent of :
Now, add the mantissas:
Step 5: Encode Z back to IEEE 754 Single-Precision Format
- Sign bit (): (positive)
- The exponent is , so the biased exponent is:
decimal = in binary.
- The mantissa fraction is the fractional part of , which is followed by zeros:
Combining the bits:
Regrouping by 4 bits to convert to hex:
This gives: (35E80000)H.
Completely free for students. Educators & coaching institutes get 2 months free Pro trial to create tests.
Access unlimited practice questions, detailed step-by-step solutions, and exam study materials — completely free for students.
Create and conduct professional online assessments with AI question generation, tab proctoring, and comprehensive batch management.
Prepare for GATE 2026 Civil Engineering with the latest question papers, previous year papers, detailed solutions, syllabus, exam pattern, preparation tips, mock tests, and subject-wise study material. Download GATE 2026 CE question papers with solutions in PDF format and boost your preparation for top engineering institutes and PSU recruitment.
Prepare effectively for GATE 2026 Electronics & Communication Engineering (EC) with this comprehensive Question Paper with Solutions. This resource includes detailed explanations, concept-wise solutions, previous year paper analysis, and exam-oriented practice to help aspirants strengthen core subjects like Electronic Devices, Analog Circuits, Digital Circuits, Signals & Systems, Network Theory, Control Systems, Electromagnetics, Communications, and more. Perfect for revision, self-assessment, and boosting your GATE 2026 EC preparation strategy.
Copyright © 2026 Combe Labs Private Limited. All Rights Reserved.