Python 3 Loops - Print - Quizizz
Python 3 Loops - Print - Quizizz
NAME :
CLASS :
Python 3 Loops
DATE :
50 Questions
a) The repetition of steps within a program b) The order in which instructions are carried
out
c) Repeat-once loop
d) WHILE loop
https://quizizz.com/print/quiz/5f695f9ec23b50001b48d212 1/15
7/12/2021 Python 3 Loops | Print - Quizizz
"Equal to"?
a) = b) !=
c) == d) >=
c) <> d) ><
a) <= b) >>
c) >= d) =>
9.
a) 5
b) 4
4
3
3
2
2
1
1 0
c) 5 4 3 2 1 d) 4 3 2 1 0
https://quizizz.com/print/quiz/5f695f9ec23b50001b48d212 2/15
7/12/2021 Python 3 Loops | Print - Quizizz
10.
a) 5
b) 4
4
3
3
2
2
1
1 0
c) 5 4 3 2 1 d) 4 3 2 1 0
11.
a) 5
b) 5 4 3 2 1
4
1
c) 4
d) 4 3 2 1 0
3
https://quizizz.com/print/quiz/5f695f9ec23b50001b48d212 3/15
7/12/2021 Python 3 Loops | Print - Quizizz
12.
a) 10 8 6 4 2 b) 10
c) 2 4 6 8 10 d) 10 9 8 7 6 5 4 3 2 1
13.
a) 12 9 6 3 0 b) 0 3 6 9 12
c) 9 6 3 0 d) 0 3 6 9
14.
a) 0 5 10 b) 5 10
c) 0 5 10 15 20 25 30 35 40 45 50 55 60 d) 12 7 2
65 70 75 80 85 90 95 100 105 110
115 120 125 130 135 140......etc
https://quizizz.com/print/quiz/5f695f9ec23b50001b48d212 4/15
7/12/2021 Python 3 Loops | Print - Quizizz
15.
a) 12 17 22 b) 5
c) 12 d) 5 10
16.
c) Hello world!
d) Error
Hello world!
Hello world!
Hello world!
Hello world!
Hello world!
......(repeated continuously)
17.
a) Hello world!
b) Hello world!
Hello world!
Hello world!
Hello world!
Hello world!
Hello world!
(repeated continuously)
c) Hello world!
d) Error
break
https://quizizz.com/print/quiz/5f695f9ec23b50001b48d212 5/15
7/12/2021 Python 3 Loops | Print - Quizizz
a) << b) =<
c) <= d) !=
19.
20.
c) Hello world!
d) Hello world!
False Hello world!
Hello world!
Hello world!
Hello world!
Hello world!
(repeated continuously)
c) if loop d) indentation
c) if loop d) indentation
https://quizizz.com/print/quiz/5f695f9ec23b50001b48d212 6/15
7/12/2021 Python 3 Loops | Print - Quizizz
a) int b) string
c) bool d) float
24. The character that must be at the end of the line for if,
a) : b) ;
c) . d) ,
c) Variable d) Selection
a) n b) num
c) value d) i
a) w b) y
c) z d) i
https://quizizz.com/print/quiz/5f695f9ec23b50001b48d212 7/15
7/12/2021 Python 3 Loops | Print - Quizizz
a) 100 b) 10
c) 5 d) 20
a) 25 b) 4
c) 1 d) 0
a) 20 b) 5
c) 2 d) 15
a) 50 b) 3
c) 5 d) 10
https://quizizz.com/print/quiz/5f695f9ec23b50001b48d212 8/15
7/12/2021 Python 3 Loops | Print - Quizizz
a) 0 b) 5
c) 2 d) 20
a) 5 b) 50
c) 10 d) 3
a) 5 b) 3
c) -5 d) 1
a) 15 b) 1
c) 10 d) 100
https://quizizz.com/print/quiz/5f695f9ec23b50001b48d212 9/15
7/12/2021 Python 3 Loops | Print - Quizizz
a) 15 b) 1
c) 3 d) 5
a) 30 b) 1
c) -3 d) -10
a) -100 b) 1
c) 5 d) -5
a) 1 b) 10
c) 9 d) 8
https://quizizz.com/print/quiz/5f695f9ec23b50001b48d212 10/15
7/12/2021 Python 3 Loops | Print - Quizizz
40. In a Python program, how many outputs will occur for the
snippet of code?
a) 15 b) 3
c) 6 d) 5
41. In a Python program, how many outputs will occur for the
snippet of code?
a) 5 b) 2
c) 8 d) 4
https://quizizz.com/print/quiz/5f695f9ec23b50001b48d212 11/15
7/12/2021 Python 3 Loops | Print - Quizizz
a) 1
b) 1
2
2
11 21
c) 1
d) 1
2
2
3
3
11 21
a) 0 b) 2
c) 3 d) 1
a) 18 b) -25
c) -10 d) -15
https://quizizz.com/print/quiz/5f695f9ec23b50001b48d212 12/15
7/12/2021 Python 3 Loops | Print - Quizizz
print(str(i) * 5) print("i" * i)
print("i" * i) print(str(i) * i)
a) 1, 0, 1, 1, 0, 1, 1, 1, 1, 1 b) 0, 1, 1, 0, 1, 1, 0, 1, 1, 0
c) 0, 1, 1, 0, 1 d) 0, 1, 1, 1, 1, 1, 0, 1, 1, 0
a) 3 b) 2
c) 1 d) 4
https://quizizz.com/print/quiz/5f695f9ec23b50001b48d212 13/15
7/12/2021 Python 3 Loops | Print - Quizizz
a) 5 b) 4
c) 3 d) 2
https://quizizz.com/print/quiz/5f695f9ec23b50001b48d212 14/15
7/12/2021 Python 3 Loops | Print - Quizizz
Answer Key
1. a 14. c 27. b 40. d
2. b 15. c 28. c 41. d
3. c 16. c 29. d 42. b
4. d 17. b 30. a 43. d
5. d 18. c 31. b 44. a
6. c 19. b 32. a 45. c
7. b 20. a 33. b 46. d
8. c 21. b 34. c 47. d
9. b 22. a 35. a 48. b
10. a 23. c 36. b 49. b
11. b 24. a 37. c 50. a
12. a 25. b 38. d
13. d 26. a 39. c
https://quizizz.com/print/quiz/5f695f9ec23b50001b48d212 15/15