Python IF Statements

Quiz
•
Computers, Education
•
9th - 12th Grade
•
Hard
Carol Luce
Used 224+ times
FREE Resource
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
Similar Resources on Wayground
15 questions
HTML & JavaScript Assessment

Quiz
•
9th - 10th Grade
11 questions
Entry Level - Data Representation

Quiz
•
8th - 9th Grade
10 questions
Web Quzizz

Quiz
•
9th - 12th Grade
12 questions
Мэдээллийн технологи XI - HTML үндсэн таг

Quiz
•
11th Grade
15 questions
теги HTML

Quiz
•
11th Grade
10 questions
HTML

Quiz
•
12th Grade
9 questions
Python Escape Sequences Quiz

Quiz
•
10th Grade
15 questions
HTML тегтері

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade