Mathematical Operators in Python

Mathematical Operators in Python

8th Grade

12 Qs

quiz-placeholder

Similar activities

Computer Basics 2 - CESA

Computer Basics 2 - CESA

7th Grade - University

10 Qs

JAVA IDENTIFIERS

JAVA IDENTIFIERS

6th - 8th Grade

14 Qs

Technology Basics

Technology Basics

6th - 8th Grade

10 Qs

Computer Security

Computer Security

8th - 10th Grade

10 Qs

ASK F1 Semua Topik

ASK F1 Semua Topik

8th Grade

10 Qs

3rd week g9 summative

3rd week g9 summative

7th - 12th Grade

15 Qs

Ethical Issues of I.T.

Ethical Issues of I.T.

7th - 8th Grade

11 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?