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
9 questions
STAAR Category 4 Review
Flashcard
•
11th Grade
13 questions
World War II Flashcard
Flashcard
•
10th Grade - University
15 questions
Homeostasis and Feedback Loops
Flashcard
•
9th - 12th Grade
9 questions
Julius Caesar Act 1 Flashcard
Flashcard
•
9th - 12th Grade
6 questions
MCA (2005) Code of Practice
Flashcard
•
KG - University
10 questions
CSI - High Level Programming P2
Flashcard
•
10th Grade - University
10 questions
Body Systems Flashcard
Flashcard
•
11th - 12th Grade
6 questions
C Programming - Control Flow
Flashcard
•
KG
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