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