Which statement in Python is used to test for multiple conditions of a boolean statement?
CS Python Fundamentals Unit 3 Review

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Scott Chamberlain
Used 25+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
else if
elif
elseIf
elsif
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the problem with the following block of code?
== should be =
missing endif after the last print
missing : after else
choice should be "choice"
3.
MULTIPLE SELECT QUESTION
45 sec • 3 pts
Select ALL of the following statements that are TRUE about ALL algorithms:
Algorithms only apply to number calculations
Algorithm instructions must be in a specific order
Algorithms must be written in full sentences
Algorithms should run in a finite amount of time
Algorithms must produce a desired result
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which conditional statement requires all parts to be true in order to become true?
and
or
not
else
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For what value of x would the following block of code print "Great"?
1
10
9
0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write the code to test if the number in the variable num1 is less than or equal to 10.
if (num1 < 10):
if (num1 <= 10):
if (num1 >= 10):
if ("num1" <= 10):
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write the code to test if the number 99 is stored in the variable var1:
if ( var1 == "99"):
if (str(var1) == 99):
if (“var1” == 99):
if (var1 == 99):
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
PYTHON PROGRAMMING

Quiz
•
11th - 12th Grade
20 questions
Week 6 - CP1

Quiz
•
12th Grade
15 questions
Unit 4 Test JS

Quiz
•
9th - 12th Grade
20 questions
Latihan Soal USP Informatika

Quiz
•
9th Grade
15 questions
Selection Quiz 2

Quiz
•
12th Grade
15 questions
Code.org Unit 5 Lesson 15 Assessment

Quiz
•
9th - 12th Grade
25 questions
Global 3r ESO

Quiz
•
12th Grade
15 questions
Python elif and Nested if

Quiz
•
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
30 questions
Linear Inequalities

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

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