Python Operators

Python Operators

12th Grade

12 Qs

quiz-placeholder

Similar activities

Loops

Loops

5th - 12th Grade

16 Qs

Python

Python

1st - 12th Grade

10 Qs

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

C++ - Loops and Random Numbers

C++ - Loops and Random Numbers

9th - 12th Grade

14 Qs

Python Basics Quiz

Python Basics Quiz

9th - 12th Grade

10 Qs

Arithmetic Types Declare Initialize Relation Logical Ops

Arithmetic Types Declare Initialize Relation Logical Ops

9th Grade - University

16 Qs

Python - kl. 8

Python - kl. 8

7th - 12th Grade

10 Qs

Python IF Statements

Python IF Statements

9th - 12th Grade

10 Qs

Python Operators

Python Operators

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Vineetha Maliakal

Used 409+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which python operator means 'less than or equal to'?

>=

>

<

<=

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of the expression 100 / 25?

4

4.0

"4.0"

'4.0'

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code :


print 9//2

4.5

4.0

4

3

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of these is floor division?

/

//

%

None of the mentioned

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the answer of this expression, 22 % 3 is?

7

1

0

5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = 4.5

y = 2

print(x//y)

2.0

2

9

9.0

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = 5


print(x > 3 and x < 10)

True

False

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?