Search Header Logo

Python Operators

Authored by shilpa keesara

Computers

11th - 12th Grade

Used 72+ times

Python Operators
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the value of the expression 100 / 25?

4

4.0

"4.0"

'4.0'

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the output of the following code :


print 9//2

4.5

4.0

4

3

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

x = 5


print(x > 3 and x < 10)

True

False

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

x = 5


print(not(x > 3 and x < 10))

True

False

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

x = 5


print(not(x > 3 or x < 2))

True

False

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

x = 5

y = 3


print(x == y)

True

False

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

x = 5

y = 3


print(x != y)

True

False

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?