Python supports the usual logical conditions from mathematics.
Grade 11 - Python Conditions

Quiz
•
Computers
•
11th Grade
•
Medium
Mr.Arman Lao-ay
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True
False
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An "if statement" is written by using the IF keyword.
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If statement, without indentation (will raise an error).
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The else keyword is Python's way of saying "if the previous conditions were not true, then try this condition".
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The elif keyword catches anything which isn't caught by the preceding conditions.
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you have only one statement to execute, you can put it on the same line as the if statement.
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You can also have multiple else statements on the same line.
True
False
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
C++ SHS B1-B2

Quiz
•
11th Grade
12 questions
Intro to Scratch 2

Quiz
•
KG - University
14 questions
CSII: Spring Final Exam

Quiz
•
9th - 12th Grade
10 questions
Excel If function WSC 4.2.3

Quiz
•
7th Grade - University
15 questions
Progamming - Java Syntax

Quiz
•
11th - 12th Grade
15 questions
Y7 Python Mid Point

Quiz
•
7th - 12th Grade
12 questions
Python Fundamentals

Quiz
•
6th - 11th Grade
10 questions
C++ Basics Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University