Python Operators

Python Operators

11th - 12th Grade

30 Qs

quiz-placeholder

Similar activities

JavaScript Quiz

JavaScript Quiz

9th - 12th Grade

29 Qs

Master C Fu

Master C Fu

12th Grade

30 Qs

SKT4 : Bab 1 : d) Pernyataan & Operator

SKT4 : Bab 1 : d) Pernyataan & Operator

10th - 12th Grade

30 Qs

Programming 2 quiz 1

Programming 2 quiz 1

10th - 12th Grade

25 Qs

MongoDB Quiz

MongoDB Quiz

12th Grade

25 Qs

bahasa c

bahasa c

12th Grade

27 Qs

C4tW Unit 1 and 2 Review

C4tW Unit 1 and 2 Review

9th - 12th Grade

27 Qs

JavaScript

JavaScript

9th - 12th Grade

29 Qs

Python Operators

Python Operators

Assessment

Quiz

Computers

11th - 12th Grade

Hard

Created by

shilpa keesara

Used 60+ times

FREE Resource

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

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?