Lesson 4.5.4.9
4.5.4.9 Underflow and overflow Quiz: AQA Computer Science, Unit 5
20 questions
In partnership with Revision Ninja
Lesson 4.5.4.9, Underflow and overflow: 20 multiple choice questions for the AQA Computer Science (7517), Unit 5: Fundamentals of data representation, written with Revision Ninja.
Host it live on the board and students join with a game code on their own devices, or revise alone with Free Play. The answers are revealed in the game.
The 20 questions
-
What condition occurs when a calculation produces a value too large to be stored?
- Underflow
- Rounding error
- Overflow
- Truncation
-
What occurs when a calculated result's magnitude is too small to be represented?
- Underflow
- Rounding error
- Overflow
- Truncation
-
In floating point representation, what condition directly causes underflow to occur?
- Sign bit inversion
- Mantissa too large
- Exponent too large
- Exponent too small
-
In unsigned integer addition, when does arithmetic overflow occur?
- Sum exceeds maximum
- Sum becomes negative
- Result is fractional
- Sum equals zero
-
What happens when adding two positive numbers exceeds the maximum two's complement value?
- Zero result produced
- Negative result produced
- Positive result doubled
- Underflow error produced
-
Which numerical outcome describes floating point underflow?
- Loss of sign bit
- Result exceeds maximum
- Division by zero error
- Result rounded to zero
-
What occurs when adding 1 to 255 in 8-bit unsigned binary?
- Arithmetic overflow
- Quantisation error
- Arithmetic underflow
- Rounding error
-
Why does calculating 9 + 8 cause an overflow in 4-bit unsigned binary?
- Maximum limit 15
- Maximum limit 7
- Maximum limit 31
- Maximum limit 16
-
A format's smallest positive value is 10^-38. What happens when storing 10^-41?
- Stored without error
- Underflows to zero
- Overflows to infinity
- Wraps to negative
-
What decimal value is stored when 1 is added to 0111 in 4-bit two's complement?
- 0
- -8
- 8
- -7
-
What is the 4-bit unsigned result when subtracting 5 from 3?
- 14
- -2
- 2
- 0
-
A floating point exponent is too large to store in its field. What is this error called?
- Overflow
- Normalisation
- Underflow
- Rounding error
-
What decimal value is stored when 1 is added to 127 in 8-bit two's complement?
- 128
- 0
- -128
- -1
-
What happens when 64 and 63 are added using 8-bit unsigned binary?
- Stored correctly
- Unsigned overflow occurs
- Underflow occurs
- Wraps to negative
-
How is overflow detected in n-bit unsigned binary addition?
- MSB sign change
- Zero flag set
- MSB carry out
- Parity bit change
-
Adding two positive two's complement numbers overflows if the result has which property?
- Negative sign bit
- Even parity
- Positive sign bit
- Zero sign bit
-
What primary issue do both rounding errors and underflow cause in calculations?
- Hardware damage
- Memory corruption
- Infinite loops
- Loss of precision
-
An 8-bit unsigned register contains 254 and increments by 3. What decimal value is stored?
- 257
- 0
- 2
- 1
-
What occurs when a calculated number is too small to be represented in floating-point format?
- Truncation
- Overflow
- Underflow
- Normalisation
-
What error occurs when a calculation produces a result too large for the allocated bits?
- Syntax error
- Underflow
- Parity error
- Overflow
Related quizzes
- Natural, rational, irrational and real numbers Quiz · 4.5.1.1 · 20 questions
- Ordinal numbers, counting and measurement Quiz · 4.5.1.6 · 20 questions
- Number bases Quiz · 4.5.2.1 · 20 questions
- Bits and bytes Quiz · 4.5.3.1 · 20 questions
- Unsigned binary Quiz · 4.5.4.1 · 20 questions
- Unsigned binary arithmetic Quiz · 4.5.4.2 · 20 questions
- Signed binary using two's complement Quiz · 4.5.4.3 · 20 questions
- Numbers with a fractional part Quiz · 4.5.4.4 · 20 questions
- Rounding errors Quiz · 4.5.4.5 · 20 questions
- Range, precision and normalisation of floating point Quiz · 4.5.4.7 · 20 questions