Font size
WorksheetsFor Loops Code.org/ Lessons 6-10 (Flocabulary)
Total questions: 25
Worksheet time: 17mins
Harmony is a computer programmer. Each day she writes (a) in a language that computers can use.
Nestor used a certain type of loop called a(n) (a) to repeat his code a specific number of times.
Each time a loop repeats is called a(n) (a) .
Elena wants to tell a program to do something many times, so she uses a(n) (a) .
Jamie is using a loop to write a program that will make sandwiches. He uses a(n) (a) to keep track of how many sandwiches have been made.
You can use a loop to (a) code even 7,000 times.
How many times should the code be repeated?
One
Two
Three
Four
How many times should the code be repeated?
200
300
400
500
How many times should the code be repeated?
3
5
6
8
In coding, loops are used to
tell a program to do different things depending on what is true.
tell a program to stop running.
repeat actions.
delete old code.
The robot in the video is programmed to make 100 burritos using a loop. To do this, the robot runs the code in the loop ________ time(s).
25
50
75
100
A programmer could use a loop to repeat code only up to 500 times.
True
False
Read each scenario. In which 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.
Read each scenario. In which would a loop be most helpful?
Cory is programming a robot to wash 50 dishes.
Maritza is writing a program that will automatically take one photo.
Radiya wants a program to display a different message depending on who logs into it.
Elna is writing a program that will draw one clown.
Read the text for the loop below. What will happen when the loop runs?
repeat 12 times:
write “Hi, do you like loops?”
The program will write “Hi, do you like loops?” 12 times.
The program will write “Hi, do you like loops?” only 1 time.
The program will write “Hi, do you like loops?” 100 times.
The program will not write anything.
Read the text for the loop below. What will happen when the loop runs?
repeat 500 times:
draw 1 triangle
draw 1 octagon
The program will draw 1 triangle and then draw 1 octagon. It will repeat this only 3 more times
The program will draw 1 triangle and then draw 1 octagon. It will repeat this 499 more times.
The program will only draw 500 triangles.
The program will not draw any triangles or octagons.
Devora is programming a robot to make 15 pizzas. She is using a for loop with a counter. She has 0 pizzas before the loop starts. What number will the counter start at?
15
0
1
10
Devora programs the robot to make 1 pizza at a time. Each time her for loop runs, by how much will the counter increase?
15
0
1
10
Devora’s for loop tells the robot to make 15 pizzas. What will happen when the counter reaches 15?
The loop will run 1 more time.
The loop will run 15 more times.
The loop will run 10 more times.
The loop will stop running.
A loop that repeats a specific number of times.
Nested Loop
For loop
code
program
The instructions that make up a computer program.
Code
Algorithm
iterations
programmer
in a computer program, a set of instructions that are repeated until a specific condition is met.
loop
code
for loop
program
This computer ___ was set up to send an attendance report to the principal every day.
program
programmer
code
variable
Someone who writes computer programs.
Developer
Designer
Teacher
Programmer
Which word means the same as "repeat".
Iterate
program
loop
for loop
