Arithmetic operator

Arithmetic operator

10th Grade

8 Qs

quiz-placeholder

Similar activities

Numpy Session -2

Numpy Session -2

10th Grade

10 Qs

Unit 4 Review

Unit 4 Review

9th - 12th Grade

11 Qs

Python Iteration

Python Iteration

10th Grade

13 Qs

python String and comment

python String and comment

3rd Grade - University

13 Qs

Quiz1_HPB2021_2010t1

Quiz1_HPB2021_2010t1

1st - 12th Grade

10 Qs

Python Quiz  -  5

Python Quiz - 5

4th - 11th Grade

10 Qs

Introduction To Java: Hello World

Introduction To Java: Hello World

7th - 12th Grade

10 Qs

Java Coding

Java Coding

9th - 12th Grade

10 Qs

Arithmetic operator

Arithmetic operator

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Teacher Lhadon

Used 7+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the name of the ** operator?

modulo

floor division

exponentiation

integer division

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the modulo operator give us as the output?

quotient

remainder

decimal

answer

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is common in all these three operators (/,%,//)?W

division

addition

subtraction

multiplication

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What would be the output from the below statement:

print((7%3)+3)

5

3

4

5

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What would be the output from the following statement?

print(10**3-1000)

-700

1

2000

0

6.

FILL IN THE BLANK QUESTION

1 min • 2 pts

Write the output from the following statement:

print(45%10*5)

7.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Which operator should be placed in the blank to get the given output?

print((19 _ 5)*2)

Output: 6

/

//

**

%

8.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Karma runs the following code but she gets error. Help Karma fix the error by rewriting the code in the correct syntax.

Karma's code:

print(x)**2+2