Python Arithmetic Operations and Predefined Functions

Python Arithmetic Operations and Predefined Functions

9th - 12th Grade

30 Qs

quiz-placeholder

Similar activities

Teori Produktif TKJ

Teori Produktif TKJ

12th Grade - University

25 Qs

Ulangan Harian Komputer Akuntansi

Ulangan Harian Komputer Akuntansi

12th Grade

25 Qs

DPK TJKT X PB BNA

DPK TJKT X PB BNA

10th Grade

25 Qs

TIK01

TIK01

12th Grade

25 Qs

ÔN TẬP TIN 7 HỌC KỲ 1

ÔN TẬP TIN 7 HỌC KỲ 1

1st - 12th Grade

25 Qs

Quiz 1

Quiz 1

11th - 12th Grade

25 Qs

quiz on excel

quiz on excel

7th - 12th Grade

25 Qs

REVIEW MATERI SPREADSHEET PTS GENAP

REVIEW MATERI SPREADSHEET PTS GENAP

10th 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?