🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Data Representation: all 9 questions

Quiz: Data Representation · Question 8 of 9

In IEEE 754 single precision, what does an exponent field of all 1s with a fraction of 0 mean?

In IEEE 754 single precision, what does an exponent field of all 1s with a fraction of 0 mean?

  1. A.Zero
  2. B.A denormal number
  3. C.Infinity (positive or negative, by the sign bit)
  4. D.NaN
Answer & explanation

Correct answer: Infinity (positive or negative, by the sign bit)

All-1s exponent with zero fraction is ±∞; with a non-zero fraction it is NaN.

Can you get the rest right without peeking?

Take the timed Quiz: Data Representation quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →