What does this if statement evaluate to?
height = 148
if height > 120:
...
Python - True or False?
Quiz
•
Computers
•
7th - 11th Grade
•
Hard
Michael Jefferson
Used 6+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does this if statement evaluate to?
height = 148
if height > 120:
...
True
False
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does this if statement evaluate to?
height = 118
if height > 120:
...
True
False
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does this if statement evaluate to?
height = 120
if height > 120:
...
True
False
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does this if statement evaluate to?
message = "Hi"
if message != "hi":
...
True
False
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does this if statement evaluate to?
message = 'hello'
if message == "hello":
...
True
False
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does this if statement evaluate to?
points = 12
points += 5
if points >= "15":
...
True
False
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does this if statement evaluate to?
points = 12
points += 5
if points == 17:
...
True
False
10 questions
Email Etiquette
Quiz
•
8th - 9th Grade
11 questions
Python Week 3 Homework - Conditional Statements
Quiz
•
8th Grade
13 questions
Intro to IF statements
Quiz
•
KG - University
9 questions
U3: [Assess] L14-L17 Code.org
Quiz
•
9th - 12th Grade
18 questions
Data Protection Act & Computer Misuse Act
Quiz
•
11th Grade
11 questions
Device and Configuration- Domain (2)
Quiz
•
9th - 12th Grade
18 questions
Boolean Expressions
Quiz
•
9th - 11th Grade
13 questions
Scratch
Quiz
•
8th Grade
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
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
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th 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
11 questions
Decimal/fraction conversions quick check
Quiz
•
5th - 7th Grade