
AP CSP Review 11Q
Authored by Angelina CTA]
Computers
10th - 12th Grade
Used 31+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the 4-bit binary number for the decimal number ten (10)?
0010
1010
0110
0101
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the minimum number of bits you would need to encode the 26 letters of the alphabet plus a space – a total of 27 characters?
7 BITS
6 BITS
5 BITS
4 BITS
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
ASCII is a character-encoding scheme that uses a numeric value to represent each character. For example, the uppercase letter “G” is represented by the decimal (base 10) value 71. A partial list of characters and their corresponding ASCII values are shown in the table below.
ASCII characters can also be represented by hexadecimal numbers. According to ASCII character encoding, which of the following letters is represented by the hexadecimal (base 16) number 56?
A
L
V
Y
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Consider the following numbers given in Binary (BIN), Decimal (DEC), and hexadecimal (HEX) representations:
BIN: 1110
DEC: 13
HEX: F
Which of the following lists the numbers in order from least to greatest?
BIN: 1110, DEC: 13, HEX: F
DEC: 13, BIN: 1110, HEX: F
DEC: 13, HEX: F, BIN: 1110
HEX: F, DEC: 13, BIN: 1110
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A video-streaming Web site uses 32-bit integers to count the number of times each video has been played. In anticipation of some videos being played m ore times than can be represented with 32 bits, the Web site is planning to change to 64-bit integers for the counter. Which of the following best describes the result of using 64-bit integers instead of 32-bit integers?
2 times as many values can be represented
32 times as many values can be represented
2^32 times as many values can be represented
32^2 times as many values can be represented
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
A programmer completes the user manual for a video game she has developed and realizes she has reversed the roles of goats and sheep throughout the text. Consider the programmer’s goal of changing all occurrences of “goats” to “sheep” and all occurrences of “sheep” to “goats”. The programmer will use the fact that the word “foxes” does not appear anywhere in the original text.
Which of the following algorithms can be used to accomplish the programmer’s goal?
First, change all occurrences of “goats” to “sheep”
Then, change all occurrences of “sheep” to “goats”
First, change all occurrences of “goats” to “sheep”
Then, change all occurrences of “sheep” to “goats”
Last, change all occurrences of “foxes” to “sheep”
First, change all occurrences of “goats” to “foxes”
Then, change all occurrences of “sheep” to “goats”
Last, change all occurrences of “foxes” to “sheep”
First, change all occurrences of “goats” to “foxes”
Then, change all occurrences of “foxes” to “sheep”
Last, change all occurrences of “sheep” to “goats”
7.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which of the following statements are true about routers and routing on the Internet? (Choose two)
Protocols ensure that a single path between two computers is established before sending packets over it
Routers are hierarchical and the “root” router is responsible for communicating to sub-routers the best paths for them to route internet traffic
A packet traveling between two computers on the Internet may be routed many times along the way or even lost or “dropped”
Routers act independently and route packets as they see fit
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?