An "if statement" is written by using the IF keyword.
G11 FT Quiz 1 - Python Conditions

Quiz
•
Computers
•
11th Grade
•
Medium
T. Arman
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
True
False
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The _____ keyword is Python's way of saying "if the previous conditions were not true, then try this condition".
if
elif
else
ifelse
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The ____ keyword catches anything which isn't caught by the preceding conditions.
if
elif
else
ifelse
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
You can also have an else
without the elif
:
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The ____ keyword is a logical operator, and is used to combine conditional statements. Both statements should be true.
and
or
not
exor
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The ____ keyword is a logical operator, and is used to combine conditional statements. At least one statement should be true.
and
or
not
exor
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The ____
keyword is a logical operator, and is used to reverse the result of the conditional statement:
and
or
not
exor
Create a free account and access millions of resources
Similar Resources on Quizizz
11 questions
Control Structures - Selection in Python

Quiz
•
8th Grade - University
10 questions
JAVASCRIPT SYNTAX

Quiz
•
11th Grade
10 questions
Identify the type of keywords

Quiz
•
9th - 12th Grade
10 questions
PHP & MySQL - 11 - Conditional Statements

Quiz
•
11th Grade
14 questions
Python Control Structures Vocab quiz

Quiz
•
9th - 12th Grade
15 questions
CodeHS - Intro to Python - Conditionals Quiz

Quiz
•
9th Grade - Professio...
12 questions
Python Fundamentals

Quiz
•
6th - 11th Grade
15 questions
Python Fundamentals

Quiz
•
11th - 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