Python Arithmetic Operations and Predefined Functions

Python Arithmetic Operations and Predefined Functions

9th - 12th Grade

30 Qs

quiz-placeholder

Similar activities

CPA Inkscape Quiz 01

CPA Inkscape Quiz 01

7th - 12th Grade

25 Qs

Ôn tập học kì 1 tin 11

Ôn tập học kì 1 tin 11

11th Grade

25 Qs

Programming Techniques

Programming Techniques

8th - 10th Grade

30 Qs

UH-PWPB

UH-PWPB

12th Grade

25 Qs

php week2

php week2

10th Grade

25 Qs

Operating system

Operating system

7th Grade - University

25 Qs

Quiz Toolbar

Quiz Toolbar

6th - 9th Grade

25 Qs

Fundamentals in RobotC

Fundamentals in RobotC

9th - 12th Grade

25 Qs

Python Arithmetic Operations and Predefined Functions

Python Arithmetic Operations and Predefined Functions

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Joan Goldberg

Used 96+ times

FREE Resource

AI

Enhance your content in a minute

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

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is x?

x = 2**3

syntax error

6

8

2**3

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is x?

x=5/2

syntax error

1

2

2.5

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is x?

x = 5//2

syntax error

1

2

2.5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is x?

x = 5%2

syntax error

1

2

2.5

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is x?

x = 5\2

syntax error

1

2

2.5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which python statement correctly finds the average of three numbers?

average = firstNum + secondNum + thirdNum / 3

average = firstNum + secondNum + thirdNum / (3)

average = (firstNum + secondNum + thirdNum) / 3

average = (firstNum + secondNum + thirdNum) // 3

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the python operator %?

division

exponentiation

modulus

floor division

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?