

Python Operators and Expressions
Interactive Video
•
Computers
•
9th - 10th Grade
•
Practice Problem
•
Hard
Thomas White
FREE Resource
Read more
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the expression 2 + 2 in Python?
5
4
6
3
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you assign the result of a mathematical expression to a variable in Python?
Using a print statement
Using a loop
Using a function
Using an assignment statement
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to raise a number to the power of another number in Python?
-
*
**
+
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the remainder when 17 is divided by 3 using the modulus operator?
4
3
1
2
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is considered a unary operator in Python?
Addition
Subtraction
Negation
Multiplication
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between unary and binary operators?
Both apply to one number
Both apply to two numbers
Unary operators apply to one number, binary to two
Unary operators apply to two numbers, binary to one
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the expression -3 in Python?
0
-3
None
3
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?