AP CSP Loops Practice
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Wayground Content
Used 1+ times
FREE Resource
Student preview

12 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which word means the same as "repeat"?
Back
Iterate
2.
FLASHCARD QUESTION
Front
Is used to repeat a specific block of code an unknown number of times, until a condition is met.
Back
While Loop
3.
FLASHCARD QUESTION
Front
Is used to repeat a specific block of code a known number of times.
Back
For Loop
4.
FLASHCARD QUESTION
Front
In which scenario would a loop be most helpful? Maura wants a program to perform a math operation one time. Jamila is programming a robot to hop once and then raise its arm once. Vinny wants a program to go through a list of 35 of his friends and remind each friend what time a study group starts. Damian is writing a program that will tell him what to wear depending on the weather.
Back
Vinny wants a program to go through a list of 35 of his friends and remind each friend what time a study group starts.
5.
FLASHCARD QUESTION
Front
adds one to variable x in a loop
Back
x++;
6.
FLASHCARD QUESTION
Front
How many times will the following program print "hello"? Options: 10, 11, 9, This code will loop infinitely
Back
This code will loop infinitely
7.
FLASHCARD QUESTION
Front
What is wrong with this loop?
Back
It never ends
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?
Similar Resources on Wayground
12 questions
Biblia (nat2020 kerettantervi alapfogalmak)
Flashcard
•
9th Grade - University
13 questions
Money
Flashcard
•
9th - 12th Grade
8 questions
Customer Service Vocabulary
Flashcard
•
7th - 12th Grade
14 questions
Obras El realismo en la historia
Flashcard
•
9th - 12th Grade
6 questions
Fetch-Execute Cycle and CPU Registers
Flashcard
•
KG
6 questions
unit2-PG-QUANTIFIERS
Flashcard
•
7th Grade - University
8 questions
Untitled Flashcards
Flashcard
•
9th - 12th Grade
13 questions
Types and Components of Computer Systems
Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade