7/12/2021 Python - Functions, Loops Review | Print - Quizizz
NAME :
CLASS :
Python - Functions, Loops Review
DATE :
17 Questions
1. What will print ?
a) cats eat mice b) mice get away
c) unknown d) error message
2. Which of the following best describes the order in which
these lines are processed in Python?
a) 4, 1, 2 b) 4, 2, 1
c) 1, 2, 3, 4 d) 3, 1, 2
3. Which of the following best describes the order in which
these lines are processed in Python?
a) 1,2,3,4 b) 1,2,1,2,1,4
c) 1,2,1,2,1,2,4 d) 1,2,1,2,1,2,1,2,4
4. How do you correctly call this function
a) def(1) b) x=square( )
c) defSquare(4) d) x=square(5)
https://quizizz.com/print/quiz/60c43ef0151e23001b33672e 1/5
7/12/2021 Python - Functions, Loops Review | Print - Quizizz
5. What will print?
a) 1
b) 1
2
2
11 21
c) 1
d) 1
2
2
3
3
11 21
6. What will print?
a) nothing b) sayHi()
c) an error message d) hi there
7. What will print?
a) 5 b) 6
c) 3 2 d) an error message
What will print?
8.
a) nothing b) 5
c) 6 d) an error message
https://quizizz.com/print/quiz/60c43ef0151e23001b33672e 2/5
7/12/2021 Python - Functions, Loops Review | Print - Quizizz
9. What will print?
a) nothing b) 5
c) 6 d) an error message
10. What will print?
a) nothing b) 5
c) 6 d) an error message
11. What will print?
a) nothing b) 7
c) z d) 12
12. How many times will Boo print?
a) none b) 4
c) 5 d) 1
13. How many times will Boo print?
a) none b) 4
c) 5 d) 1
https://quizizz.com/print/quiz/60c43ef0151e23001b33672e 3/5
7/12/2021 Python - Functions, Loops Review | Print - Quizizz
14. How many times will Boo print?
a) 5 b) 4
c) none d) infinite
15. What will print?
a) 1 2 b) 1
c) 3 d) 5
What will print?
16.
a) 4 b) 5
c) nothing d) an error message
17. What will print?
a) 4 b) 5
c) 7 d) an error message
https://quizizz.com/print/quiz/60c43ef0151e23001b33672e 4/5
7/12/2021 Python - Functions, Loops Review | Print - Quizizz
Answer Key
1. c 6. d 11. d 16. a
2. a 7. c 12. b 17. c
3. b 8. a 13. b
4. d 9. b 14. a
5. a 10. d 15. d
https://quizizz.com/print/quiz/60c43ef0151e23001b33672e 5/5