
AP CS P 5.1
Authored by John Kim
Computers
10th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Your winnings were more than the largest number the bank’s computers could hold, so an overflow error will occur.
Since decimal numbers are stored imprecisely in computers, a rounding error will occur.
The amount will be represented in machine code format, so converting it to decimal will show the balance in a more readable format.
The amount will cause a runtime error.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The cash register DISPLAY procedure has an error.
A rounding error occurred.
It’s displaying the change owed in a different currency.
The amount is represented as a string field rather than a number.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You are assigned a parking space in a large parking lot by an automated machine. You recognize that the parking space number is displayed in binary, but the parking spots are labeled in decimal numbers. Convert the parking space number 10011011 to decimal to know where to park and avoid getting towed.
154
155
157
9F
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When designing a web page, you see a color you want to use listed in binary as: 01010000, 11001000, 01111000. Which color is it, given the decimal equivalents (Red, Green, Blue)?
(32, 76, 414)
(50, 118, 78)
(80, 200, 120)
(128, 310, 170)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Your bank asks for your phone number to associate it with your account. What is this an example of?
A privacy concern
Multifactor authentication
A phishing attempt
Asymmetric authentication
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You have to change a program written a year ago by someone else. A sample section of code is below. How could the original program author have helped anyone making changes at a later date? PROCEDURE A (x, y, z) IF x < y { x <- z }
Provided the original program requirements
Added a video describing the program design and functionality
Used procedure and variable names that described their purpose and content
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is NOT true?
Lower level languages are easier to debug because the language is closest to what the computer executes.
Higher level languages are easier to debug because the language is closer to natural language.
Lower level languages provide less abstraction.
Higher level languages are easier for people to code in because they are more abstract.
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?