
AP CS Principles ALGORITHMS AND PROGRAMMING
Authored by Hicabi Yeniay
Computers
11th Grade
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 3 pts
In a binary number system, how many digits are used to represent each value?
2
4
8
1
2.
MULTIPLE CHOICE QUESTION
2 mins • 3 pts
Look at the image and consider the pseudocode. What type of loop is represented by the structure?
While loop
Do-while loop
For loop
Infinite loop
3.
MULTIPLE CHOICE QUESTION
2 mins • 3 pts
What are the two possible results of testing a condition?
YES and NO
POSITIVE and NEGATIVE
TRUE and FALSE
0 or 1
4.
MULTIPLE CHOICE QUESTION
2 mins • 3 pts
What is an algorithm?
How to make a jam sandwich
A way to solve a problem
instructions
Step by step instructions to solve a problem
5.
MULTIPLE CHOICE QUESTION
2 mins • 3 pts
people = ["jo", "maya", "jay"]
print (people[1])
what would this result be?
maya
jo
jay
error
6.
MULTIPLE CHOICE QUESTION
2 mins • 3 pts
You are working on a program that requires executing a block of code as long as a specific condition is true. What programming construct is most suitable for this situation?
Function
Loop
Conditional statement
Array
7.
MULTIPLE CHOICE QUESTION
2 mins • 3 pts
What does this pseudocode segment do?
Calculates the average of five scores
Prints the sum of five scores
Determines the highest score among five
Sorts an array of five elements
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?