AP Computer Science Principles Review
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Sarah Melanephy
Used 19+ times
FREE Resource
Student preview

10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 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 above.
ASCII characters can also be represented by binary numbers. According to ASCII character encoding, which of the following letters is represented by the binary (base 2) number 1010100?
N
P
T
W
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following decimal (base-10) values is equivalent to the binary (base-2) value 101001?
22
37
41
82
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What value does the above code segment display?
17
36
53
No value is ever displayed because the algorithm repeats the REPEAT UNTIL block indefinitely.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Remember that “state space” refers to the space of all potential possibilities. Which dichotomous questions below will successfully narrow down the entire state space of “flipping a coin and rolling a normal six-sided die” to just 1 outcome?
Did the coin land on tails?
Is the value on the die less than 3?
Is the value on the die even?
Is the value on the die 4, 5 or 6?
Is the value on the die even?
Did the coin land on heads?
When the value on the die is multiplied by 4, is it even?
Does the value on the die equal 1, 2 or 3?
Did the coin land on heads?
Is the value on the die odd?
Is the value on the die more than 3?
Does the value on the die equal 1, 2, 5 or 6?
None of these will narrow down the state space to just one outcome
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
As of 2016, the selling of used digital media is illegal. Along with selling it, there are many other illegal uses of digital media. Which of the following would be a legal use of digital media?
You download an app on your smartphone that allows you to ‘strip’ the audio from any YouTube music video and permanently keep that audio in your music collection.
You make an MP3 copy of a song because the CD you bought expressly permits you to do so, and then you put your MP3 copy on the Internet, using a file-sharing network, so that millions of other people can download it.
You have a computer with a CD burner, which you use to burn copies of music you have downloaded onto writable CDs for all of your friends.
You download a song from iTunes and sync it to the cloud so that it is accessible on all of your devices.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The above procedure check is called in a program after each time a True or False question is answered. If the user types in True True False True as their answers for four questions on a quiz, what should their overall score be?
25%
50%
75%
100%
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ASCII is a character-encoding scheme that uses 7 bits (8 bits if you are using the extended ASCII table) to represent each character. The decimal (base 10) values 65 through 90 represent the capital letters A through Z, as shown in the table above.
Which ASCII character is represented by the binary (base 2) number 1000001?
A
B
C
D
Create a free account and access millions of resources
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?
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade