Mathematical Operators in Python
Quiz
•
Computers
•
8th Grade
•
Practice Problem
•
Hard
Mr. So
Used 99+ times
FREE Resource
Enhance your content in a minute
12 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What does the following equation calculate to in Python?
2 + 2 * 3
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What does the following equation calculate to in Python?
(2 + 2 )* 3
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the following code:
age = 23
age = age * 2
print (age)
What is printed?
23
23 * 2
25
46
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the following code:
age = "23"
age = age + 1
print (age)
What is the result of this code?
23
24
23 + 1
an error message
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the following code:
age = input ("What is your age? ")
age = age + 1
print (age)
If the user inputs 23, what is the result of the code?
23
24
age
an error message
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the following code:
age = int(input ("What is your age? "))
age = age + 1
print (age)
If the user inputs 23, what is the result of the code?
23
24
age
an error message
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the following code:
age = input ("What is your age? ")
age = int(age) + 1
print (age)
If the user inputs 23, what is the result of the code?
23
24
age
an error message
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
14 questions
Financial Literacy: 8th Grade
Quiz
•
8th Grade
10 questions
Python Alternating Turns
Quiz
•
7th - 12th Grade
10 questions
App Development lesson 1
Quiz
•
8th - 9th Grade
10 questions
Microsoft Teams
Quiz
•
KG - 12th Grade
15 questions
Google Tips and Tricks
Quiz
•
7th - 9th Grade
10 questions
กลุ่มงานบริหารงานบุคคล
Quiz
•
7th - 12th Grade
10 questions
Cyber Security
Quiz
•
1st - 10th Grade
16 questions
Acceptable Use Policy
Quiz
•
6th - 9th Grade
Popular Resources on Wayground
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
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
