Font size
WorksheetsEdublocks lesson 7 loops intro
Total questions: 17
Worksheet time: 9mins
Select the code to print even numbers in reverse order
A while loop can be used in which of the following situations?
Repeat a set of statements till a condition remains True.
Repeat a set of statements a finite or an infinite number of times.
Iterate through a string, list, and tuple.
All of the above
What is a variable?
a type of graphics
A box(memory location) where you store values
Data type
a type of memory
Kind of loop used when you know the number of times you want it to repeat
list
for
while
if
Loop that runs till the condition is true
list
while
for
if
In Python, the two types of loops are _____ and _______
while
for
list
if
Choose the correct output of the following code.
for i in range(10,15):
print(i)
10
11
12
13
14
15
10
11
12
13
14
11
12
13
14
15
11
12
13
14
What data type does an input block return?
String
Integer
Float
Boolean
Which block is needed to convert an input into a integer number?
What is the value of no_1?
8
11
19
88
What datatype would userNumber be after this block is run
string
integer
real
a number if they enter a number
In what section would you find the
if
block
Statement
Files
Logic
Variables
What will the value of answer be when this program is run?
8
11
19
88
What shape is this python program finding the area for?
Circle
Square
Triangle
Hexagon
What will this python program output?
9.75
17
44
86
What will the value of answer be once this program is run?
5
8115
24
440
Which variable has the highest value before the prorgam is run.
no_1
no_2
no_3
