🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← All topics

Quiz: Data Representation: questions with answers

9 questions, each with the answer and a short explanation.

Take the timed quiz + get a certificate →
  1. Q1. What is the 8-bit 2's complement representation of −5?
  2. Q2. In the overflow demo, which addition overflowed?
  3. Q3. In IEEE 754 single precision, how many bits are used for the exponent, and what is the bias?
  4. Q4. What is the stored exponent field (in decimal) for −6.75 in single precision?
  5. Q5. What is the hexadecimal form of the binary number 1111 0010?
  6. Q6. What decimal value does the 8-bit 2's complement number 1000 0011 represent?
  7. Q7. What does this print? (code)
  8. Q8. In IEEE 754 single precision, what does an exponent field of all 1s with a fraction of 0 mean?
  9. Q9. What does this print? (code)