wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Hour of Code

Total questions: 12

Worksheet time: 21mins

Name
Class
Date
1.
A PROGRAM is a series of  _____________ for a computer or device to follow
a)
instructions
b)
windows
c)
suggestions
d)
voices
2.
A single instruction or command of a program is _______________________ .
a)
code
b)
step
c)
game
d)
word
3.
The days of the week is an example of a(n) __________________ loop.
a)
infinite or forever
b)
finite
c)
toe
d)
shoelace
4.
A repeat loop is a group of  _______________ which is repeated as needed.
a)
code
b)
students
c)
programs
d)
bananas
5.
The two types of loops are known as ___________ ______  ____________ . 
a)
infinite and finite
b)
forever and infinite
c)
short-term and long-term
d)
endless and ending
6.
Infinite loops are also called _________ loops. 
a)
endless
b)
forever
c)
never ending
d)
neverland
7.
A forever loop is a code pattern that repeats ___________________ .
a)
as long as the program is running
b)
for a set number of times
c)
until a condition is met
d)
as long as Google wants it to.
8.
Finite Loops are code which is repeated until a _____________ is met or for a specific number of times
a)
condition
b)
love interest
c)
friend
d)
teacher
9.
Conditionals are used when computers need to make _____________.
a)
decisions
b)
a cake
c)
dinner
d)
a friend
10.
IF...THEN and IF...THEN...ELSE are two types of ________________.
a)
conditional statements
b)
repeat loops
c)
jokes
d)
programs
11.
In an IF...THEN statement, the THEN part of the code is followed when the IF condition is ___________ .
a)
true
b)
false
c)
either true or false
d)
neither true nor false
12.
In an IF...THEN...ELSE statement, the ELSE part of the code is followed when the IF condition is ___________ .
a)
true
b)
false
c)
either true or false
d)
neither true nor false