
APCSP DAT-1.B Overflow and Limitations of Data
Authored by Beckie Lee
Computers
9th - 12th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main reason that integer values have a fixed range in many programming languages?
Integer values are stored as text rather than numbers.
The number of bits allocated to store integers is limited.
Computers cannot process numbers larger than 100,000.
Integer values change unpredictably in memory.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What can happen when an integer calculation exceeds the maximum value that can be stored in a fixed number of bits?
The program will always crash.
The result will wrap around to a very small or negative number (overflow error).
The calculation will continue normally with no issue.
The program will automatically increase the storage space for the number.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an overflow error?
When a number is too small to be stored accurately.
When an integer exceeds its maximum representable value and wraps around.
When a floating-point number is converted to an integer.
When a program runs out of memory.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary issue caused by using a fixed number of bits to store real numbers?
Some real numbers cannot be represented exactly, leading to round-off errors.
Real numbers cannot be stored in memory at all.
Real numbers take up less memory than integers.
The computer must always store real numbers as exact values.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What causes round-off errors in floating-point representation?
The computer runs out of memory.
Some real numbers cannot be perfectly represented in binary.
The program attempts to divide by zero.
Floating-point numbers use too many bits for storage.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of a round-off error?
A calculation results in 3.333333333333 instead of exactly 1/3.
A program crashes due to a missing semicolon.
A negative number is stored when it should be positive.
A file fails to open due to incorrect permissions.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why do some real numbers need to be approximated in computer storage?
Computers cannot store decimal numbers.
Many real numbers have infinite decimal expansions that cannot fit in a fixed number of bits.
Computers do not use floating-point arithmetic.
Real numbers are always stored as whole numbers.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?