
Loops APCSP
Quiz
•
Other
•
12th Grade
•
Hard
Angel Ligon
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times will the following program print "hello"?
count
i
7
6
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the following code, what will be the last number to print to the screen before the program finishes?
18
16
9
0
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A loop, most often set with while(true) , that has a break statement in the loop body.
Infinite loop
Loop and half
While loop
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A loop, used to execute a block of statements repeatedly until a given condition is satisfied.
Infinite loop
Loop and half
While loop
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A loop, used to iterate over a sequence, which could be a list, tuple, array, or string.
Infinite loop
Loop and half
While loop
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of the boolean variable "can_vote" at the end of this program?
True
False
Yes
none, there is a syntax error in this code
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
We want to print a phrase exactly 25 times. What kind of control structure should we use?
If statement
While loop
Break statement
For loop
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
14 questions
ITGS - IT Systems (Hardware)
Quiz
•
10th - 12th Grade
10 questions
GK Hunt Week - 32
Quiz
•
6th - 12th Grade
10 questions
UK Airport Codes Prep For Unit 28 Test
Quiz
•
12th Grade
9 questions
Pseudocode Olevels Quiz
Quiz
•
9th - 12th Grade
10 questions
Generators
Quiz
•
11th - 12th Grade
15 questions
Legal and Ethical Responsibilities
Quiz
•
9th - 12th Grade
15 questions
Quis open loop dan close loop
Quiz
•
12th Grade
14 questions
Integumentary System
Quiz
•
12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
29 questions
CCG 2.2.3 Area
Quiz
•
9th - 12th Grade
15 questions
PRESENTE CONTINUO
Quiz
•
9th - 12th Grade
13 questions
BizInnovator Startup - Experience and Overview
Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)
Quiz
•
9th - 12th Grade