
Understanding Arithmetic in Python 3
Interactive Video
•
Computers
•
9th - 10th Grade
•
Practice Problem
•
Hard
Jennifer Brown
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the three types of numbers used in Python 3?
ints, floats, and complex numbers
ints, doubles, and complex numbers
floats, doubles, and complex numbers
ints, floats, and doubles
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does Python handle type conversion when adding an int and a float?
Converts both to complex numbers
Keeps both as their original types
Converts the int to a float
Converts the float to an int
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of dividing two whole numbers in Python 3?
An int
A float
A complex number
A string
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to obtain the remainder of a division in Python?
The multiplication operator (*)
The double division operator (//)
The modulus operator (%)
The division operator (/)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if you attempt to divide by zero in Python?
Python converts the result to a float
Python returns zero
Python throws a zero division error
Python returns infinity
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
6 questions
Casting and Range of Variables
Interactive video
•
11th Grade
6 questions
Invading the Everglades
Interactive video
•
9th - 12th Grade
8 questions
A Practical Approach to Timeseries Forecasting Using Python - ARIMA in Python
Interactive video
•
10th - 12th Grade
6 questions
¿Qué es un reptil?: diferentes tipos de reptiles
Interactive video
•
10th - 12th Grade
3 questions
Working principle of Linear Regression
Interactive video
•
9th - 10th Grade
6 questions
CLEAN : Australian prison inmates care for abandoned animals
Interactive video
•
9th - 10th Grade
6 questions
Boris Johnson on tour of BAE Systems in Preston
Interactive video
•
9th - 12th Grade
2 questions
A Practical Approach to Timeseries Forecasting Using Python - Module Overview - Data Processing for Timeseries Forecast
Interactive video
•
10th - 12th 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