សន្លឹកកិច្ចមេរៀនចប់ s
សន្លឹកកិច្ចមេរៀនចប់ s
សន្លឹកកិច្ចមេរៀនចប់ s
NAME :
CLASS :
Python If Elif Else Statement
20 Questions DATE :
A 7 B spam
C next D nextstop
A 357 B 3
C 7 D 37
https://quizizz.com/print/quiz/63ea111c5a36f7001ede961e 1/6
2/13/23, 6:11 PM Python If Elif Else Statement
A TrueNIL B TrueNILNIL
C True D NIL
7. Given the nested if-else below, what will be the value x when the
code is executed successfully.
A 0 B 2
C 3 D 4
8. Given the nested if-else structure below, what will be the value of
x after code execution completes.
A 3 B 0
C 4 D 2
https://quizizz.com/print/quiz/63ea111c5a36f7001ede961e 2/6
2/13/23, 6:11 PM Python If Elif Else Statement
A False B True
12. This operator means that one value is the same as the other value
A < B !=
C == D >
A Error B Team
C Dallas is #1 D Cowboys
https://quizizz.com/print/quiz/63ea111c5a36f7001ede961e 3/6
2/13/23, 6:11 PM Python If Elif Else Statement
15. I am 71 years old! What will the output be?: IF you are 70 or older, say “You are aged to
perfection!” ELIF you are exactly 50, say “Wow, you are half a century old!” ELSE say “You
are a spring chicken!”
A "You are a spring chicken!" B "Wow, you are half a century old!"
16. I am 18 years old! What will the output be?: IF you are 70 or older, say “You are aged to
perfection!” ELIF you are exactly 50, say “Wow, you are half a century old!” ELSE say “You
are a spring chicken!”
A "You are spring chicken!" B "Wow, you are half a century old!"
A 9 B 27
C 6
19.
20.
https://quizizz.com/print/quiz/63ea111c5a36f7001ede961e 4/6