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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
TIN HỌC 10 - BÀI 21
Quiz
•
10th Grade
12 questions
Tin học 2
Quiz
•
11th Grade
15 questions
HTML
Quiz
•
8th - 12th Grade
10 questions
Quiz Excel 3
Quiz
•
10th Grade
15 questions
¡JUGUEMOS!
Quiz
•
1st Grade - University
10 questions
Операторы и функции языка Pascal
Quiz
•
1st - 10th Grade
10 questions
Bài 25 tin 10
Quiz
•
9th Grade - University
15 questions
Arduino
Quiz
•
7th - 9th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
