Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations

UGC NET Computer Science Previous Year Questions (PYQs)

UGC NET Computer Science Floating Point Representation PYQ


UGC NET Computer Science PYQ
The decimal floating point number $-40.1$ represented using IEEE-754 $32$-bit representation and written in hexadecimal form is:





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Dec 2018 (Paper II) PYQ

Solution

Given number is

$-40.1$

Since the number is negative, sign bit is

$1$

Now,

$40.1$ in binary is approximately

$101000.000110011001100110\ldots$

Normalize it:

$101000.000110011001100110\ldots=1.01000000110011001100110\ldots\times 2^5$

So, exponent is

$5$

IEEE-754 single precision bias is

$127$

Biased exponent is

$127+5=132$

Binary of $132$ is

$10000100$

Mantissa bits are

$01000000110011001100110$

So, IEEE-754 representation is

$1\ 10000100\ 01000000110011001100110$

This gives hexadecimal form:

$\text{C2206666}$

Therefore, the answer is

$\text{0xC2206666}$

Hence, the correct answer is Option 1.



UGC NET Computer Science


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

UGC NET Computer Science


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Limited Seats
× Aspire MCA Promotion

Game Changer NIMCET Test Series 2026

Boost your preparation with mock tests, analysis and rank-focused practice.

JOIN NOW
Ask Your Question or Put Your Review.

loading...