1 - Briefly describe overflow. When does it occur? 2 - Briefly describe underflo
ID: 3902907 • Letter: 1
Question
1 - Briefly describe overflow. When does it occur?
2 - Briefly describe underflow. When does it occur?
3 - What decimal number does the bit pattern 11001110 represent if it is a:
• unsigned integer?
• sign-magnitude integer?
• two's complement integer?
4 - What decimal number does the bit pattern 01001110 represent if it is a:
• unsigned integer?
• sign-magnitude integer?
• two's complement integer?
5 -What is the binary representation of the decimal number 5.6 assuming the IEE 754 single precision format?
6 - What decimal number does the bit pattern 0xC3A88000 represent if it is:
• A two's complement integer?
• An unsigned integer?
• A floating point number assuming the IEE 754 single precision format
7 - Perform the following calculations assuming that the values are 8-bit decimal integers stored in two's complement format.
• 10101010 + 01101101
• 10101001 - 01101111
Explanation / Answer
Answer)
1) When the computer tries to handle the number which is very large for it then the error occurs. Each computer will have a well-defined range of values and while execution of the program if that arrives at a number that is outside the range then overflow happens.
2) Underflow is defined as a condition in a computer program which is responsible for calculation in the number of small absolute values rather than the computer that can represent the memory in the CPU.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.