
APCSP Loop Quiz
Quiz
•
Computers
•
9th Grade
•
Practice Problem
•
Hard
Victoria Berkowitz
Used 3+ times
FREE Resource
Enhance your content in a minute
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following code segment. What is the output after executing the code?
12
20
24
18
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following code segment. What is the output after executing the code?
0 1 2 3
1 2 3 4
0 1 2
1 2 3
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following code segment. What is the output after executing the code?
Red Green Blue
Red Green Blue
Red Red Red
Red Green Blue
Red Green Blue
Red Green Blue
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following code segment. What is the output after executing the code?
2 4 6 8
2 4 8
2 4 8 16
2 4 8 16 32
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following code segment. What is the output after executing the code?
9 4 1 0
9 4 1
3 2 1 0
3 2 1
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following code segment. What is the output after executing the code?
HINT:
Remember MOD is remainder after division.
num MOD 2 = 0 when the num is even.
num MOD 2 = 1 when the num is odd.
1 3 5
2 4
1
1 2 3 4 5
Similar Resources on Wayground
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
