AP CSP Algorithms
Quiz
•
Computers
•
10th - 12th Grade
•
Practice Problem
•
Medium
Dr. Moriarty
Used 251+ times
FREE Resource
Enhance your content in a minute
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following algorithm display?
a 13
b 17
a a + 1
c a/7
DISPLAY(c)
DISPLAY(a)
DISPLAY(b)
2, 14, 17
13, 17, 5
2, 12, 2
14, 17, 2
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following algorithm display?
a ← 13
a ← 17
a ← a+1
DISPLAY(a)
13
17
18
19
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following algorithm display?
a ← 11
a ← a + 35
a ← a + 6
a ← a MOD 2
a ← a x b
DISPLAY (a)
0
42
84
126
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Extra Credit: Before deciding on a Hedgehog, Sega originally planned to make Sonic a...
rabbit
goose
cat
dinosaur
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following display?
a ← "Milk"
a ← "Cookies Soda"
a ← "Chips"
b ← a + "put them in a bag so they stay crisp"
Milk
Milk Cookies Soda
Put them in a bag so they crisp
Milk Cookies Soda Chips put them in a bag so they stay crisp
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value displayed after the program is run?
a 8
b 3
c 2
a b * c
c c+4
display "a"
display (c)
a 8
a 6
8 6
16 4
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value displayed after the program is run?
a 8
b 3
c 2
a b*c
c c+4
DISPLAY("a")
DISPLAY("c")
a 8
a c
8 6
16 4
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Visualisasi data
Quiz
•
8th Grade - University
20 questions
Introducción a las bases de datos
Quiz
•
12th Grade
20 questions
BT VỀ HĐH
Quiz
•
10th Grade
21 questions
Google : ¡A trabajar!
Quiz
•
10th - 11th Grade
20 questions
2324tx6
Quiz
•
9th - 12th Grade
21 questions
logica excel
Quiz
•
1st Grade - University
25 questions
TIK01
Quiz
•
12th Grade
20 questions
Network topologies
Quiz
•
8th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
