WorksheetsQuiz 3 Review
Total questions: 9
Worksheet time: 5mins
Name
Class
Date
1.
What will be printed when the code runs?
a)
b)
c)
d)
Nothing, there is an error in the code.
2.
What will print when the code is run?
a)
b)
c)
d)
Nothing, there is an error in the code.
3.
What will print after the code is run?
a)
b)
c)
d)
Nothing, there is an error in the code.
4.
How many times will the print function evaluate?
a)
0
b)
1
c)
2
d)
3
e)
4
5.
What will print after the code is run?
a)
b)
c)
The for loop is an infinite loop, and so the print statement will never be executed.
6.
What will print after the code is run?
a)
b)
7.
What will print after the code is run?
a)
1 9
b)
True
c)
1
d)
9
8.
What will print after the code is run?
a)
b)
c)
9.
a)
b)
c)
d)
100 %
