Python -- Arithmetic Operators

Python -- Arithmetic Operators

Assessment

Flashcard

Created by

Quizizz Content

Computers

9th - 12th Grade

Hard

Student preview

quiz-placeholder

17 questions

Show all answers

1.

FLASHCARD

Front

In Python, the operator used for addition is _____.

Back

+.

2.

FLASHCARD

Front

In Python, the operator used for multiplication is _____.

Back

*

3.

FLASHCARD

Front

In Python, the operator used for division is _____.

Back

/

4.

FLASHCARD

Front

What is the result of the operation: x = 15, y = 4, print('x * y')?

Back

60

5.

FLASHCARD

Front

What is the result of the operation: print(x // y) where x = 15 and y = 4?

Back

3

6.

FLASHCARD

Front

What is the output of the following code :

print 9//2

Back

4

7.

FLASHCARD

Front

What is the value of the expression 100 / 25?

Back

4.0

8.

FLASHCARD

Front

In Python, _________ operators are used to perform mathematical calculations.

Back

arithmetic

Answer explanation

The basic arithmetic operators are:

Addition, subtraction, multiplication, division

9.

FLASHCARD

Front

What is the output of the code below?
num1 = 9
num2 = 2
ans = num1// num2
print(ans)

Back

4

10.

FLASHCARD

Front

What will the output be from the following code?
print("3+4")

Back

3+4

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?