Mathematical Operators in Python

Mathematical Operators in Python

8th Grade

12 Qs

quiz-placeholder

Similar activities

topologies

topologies

7th - 8th Grade

13 Qs

For loop

For loop

8th Grade

10 Qs

BTEC Theory quiz 1: Networks and Internet

BTEC Theory quiz 1: Networks and Internet

8th - 11th Grade

16 Qs

NOIR Data

NOIR Data

8th Grade

15 Qs

Wee Word Intro

Wee Word Intro

7th - 12th Grade

12 Qs

THE PHOTOSHOP WINDOW

THE PHOTOSHOP WINDOW

7th - 8th Grade

10 Qs

Five Nights At Freddy's: Security Breach Quiz

Five Nights At Freddy's: Security Breach Quiz

KG - Professional Development

13 Qs

Creating Webpages

Creating Webpages

6th - 8th Grade

12 Qs

Mathematical Operators in Python

Mathematical Operators in Python

Assessment

Quiz

Computers

8th Grade

Practice Problem

Hard

Created by

Mr. So

Used 99+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

12 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What does the following equation calculate to in Python?

2 + 2 * 3

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What does the following equation calculate to in Python?

(2 + 2 )* 3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Look at the following code:

age = 23

age = age * 2

print (age)


What is printed?

23

23 * 2

25

46

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Look at the following code:

age = "23"

age = age + 1

print (age)


What is the result of this code?

23

24

23 + 1

an error message

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Look at the following code:

age = input ("What is your age? ")

age = age + 1

print (age)


If the user inputs 23, what is the result of the code?

23

24

age

an error message

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Look at the following code:

age = int(input ("What is your age? "))

age = age + 1

print (age)


If the user inputs 23, what is the result of the code?

23

24

age

an error message

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Look at the following code:

age = input ("What is your age? ")

age = int(age) + 1

print (age)


If the user inputs 23, what is the result of the code?

23

24

age

an error message

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?