
Python Arithmetic Operations and Predefined Functions
Authored by Joan Goldberg
Computers
9th - 12th Grade
Used 96+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is x?
x = 2**3
syntax error
6
8
2**3
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is x?
x=5/2
syntax error
1
2
2.5
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is x?
x = 5//2
syntax error
1
2
2.5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is x?
x = 5%2
syntax error
1
2
2.5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is x?
x = 5\2
syntax error
1
2
2.5
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which python statement correctly finds the average of three numbers?
average = firstNum + secondNum + thirdNum / 3
average = firstNum + secondNum + thirdNum / (3)
average = (firstNum + secondNum + thirdNum) / 3
average = (firstNum + secondNum + thirdNum) // 3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the python operator %?
division
exponentiation
modulus
floor division
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?