Basic Math in Python-Quick Review

Basic Math in Python-Quick Review

Assessment

Interactive Video

Computers

6th - 10th Grade

Hard

Created by

Thomas Harris

FREE Resource

4 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following Python code?my_number = 5 + 3print(my_number)

5 + 3

8

my_number

Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the expression 20 % 6?

3

2

0

6

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of operator applies to only one number?

Binary operator

Ternary operator

Unary operator

Mathematical operator

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following expression: (10 - 2 * 3) ** 2?

16

64

4

100