Python IF Statements
Quiz
•
Computers, Education
•
9th - 12th Grade
•
Practice Problem
•
Hard
Carol Luce
Used 227+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Any statements inside an IF clause (section) can be executed multiple times.
FALSE
TRUE
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
It is possible to execute both the (block of) statements under if and the else clauses at the same time.
Yes
No
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output?
True
False
condition1
condition2
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Given the nested if-else below, what will be the value x when the code is executed successfully.
0
4
2
3
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This operator checks to see if one value is the same as the other value
==
!=
>
<
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be outputted here?
Bigger than 2!
Number is 5
Bigger than 2!
Number is 5
Nothing
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be outputted here?
it divides by 7!
it divides by 3!
It divides by 7.
It divides by 3.
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
HTML Quiz
Quiz
•
11th Grade - University
10 questions
Hệ Điều Hành Của Máy Tính
Quiz
•
10th Grade - University
15 questions
Ôn tập KTGK. Bài 17. Biến và lệnh gán
Quiz
•
10th Grade
11 questions
Excel
Quiz
•
1st - 10th Grade
10 questions
CHƯƠNG TRÌNH CON BT1
Quiz
•
10th - 12th Grade
12 questions
Tabele HTML
Quiz
•
9th Grade
12 questions
H7.P1&P2.Nova2.Geluid.mhv
Quiz
•
4th - 10th Grade
10 questions
Permainan Invansi (Bola Basket) Kelas IX
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
