Python Operators

Python Operators

12th Grade

12 Qs

quiz-placeholder

Similar activities

QUIZZI khởi động thực hành DH

QUIZZI khởi động thực hành DH

10th Grade - University

13 Qs

Python Packing & Unpacking Review

Python Packing & Unpacking Review

9th - 12th Grade

7 Qs

 S  If

S If

9th - 12th Grade

10 Qs

GameMaker - Quiz #2

GameMaker - Quiz #2

9th - 12th Grade

16 Qs

CSS

CSS

12th Grade

15 Qs

AP CSP Unit 2 Vocab and Logic Review - Part 1

AP CSP Unit 2 Vocab and Logic Review - Part 1

10th - 12th Grade

10 Qs

Unit 1 Post Test: Basic Python

Unit 1 Post Test: Basic Python

9th - 12th Grade

10 Qs

Understanding Python Identifiers and Operators

Understanding Python Identifiers and Operators

11th Grade - University

14 Qs

Python Operators

Python Operators

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Vineetha Maliakal

Used 435+ 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?