
Python Print Statements and Operators Review
Authored by JASON SAMMONS
Specialty
9th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
What is the final result of the expression 4 + 5 * 3?
27
12
21
19
2.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
What is the final result of the expression 7 / 2 + 6?
0
9.5
9
0.875
3.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Choose the print statement below that will cause an error. Assume that num has the value 6, and name has the value "Isabella".
print(name + ":")
print(num)
print(name + " wants " + "num " + "candies")
print(name + ": " + str(num))
print(name + ": " + num)
4.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Which one of the statements below will cause an error?
ans = "hi" * 8
ans = "hi" + 9
ans = "hi" + "hi" + "hi"
ans = ["a" * 4] + "b"
5.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
What does the following program print? a = "hi" b = 4 c = a * b print(type(c))
The program crashes and doesn’t print anything.
6.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Suppose you have a variable defined a = "4". What is the variable type of a?
str
int
float
number
7.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Choose the option that correctly prints out the variable(s). x = "codesh" print(int(x)) num = 8 print("num") name = "Alyx" age = 32 print(name + " is " + age) language = "Python" print("I'm learning " + language)
x = "codesh" print(int(x))
num = 8 print("num")
name = "Alyx" age = 32 print(name + " is " + age)
language = "Python" print("I'm learning " + language)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Buying vs. Renting
Quiz
•
9th - 12th Grade
18 questions
Academic Honesty Policy
Quiz
•
7th - 12th Grade
20 questions
Foods 1 - 2.02 Mod 2 Cooking Temps
Quiz
•
9th - 12th Grade
17 questions
Horticulture I Plant ID Practice
Quiz
•
9th - 12th Grade
15 questions
Wood Theory
Quiz
•
9th - 11th Grade
20 questions
T0906R-PICTORIAL DRAWINGS
Quiz
•
9th Grade - University
20 questions
Healthcare Delivery Models Review
Quiz
•
9th - 12th Grade
19 questions
Unit 3 Government Review
Quiz
•
6th Grade - University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Specialty
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Exponent Properties
Quiz
•
9th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade