Search Header Logo
Operators in Python

Operators in Python

Assessment

Presentation

Computers

9th - 12th Grade

Hard

Created by

Deepa Lakshmy

Used 88+ times

FREE Resource

1 Slide • 9 Questions

1

Operators in Python

media

2

Multiple Choice

Errors that are handled by python interpreter is termed as

1

Syntax Errors

2

Semantic Errors

3

Runtime Errors

4

None of the above

3

Multiple Choice

print(10 != 9 and 20 >= 20)

1

True

2

False

3

Error

4

Fill in the Blank

Non executable statements in a program is called

5

Multiple Choice

Functions can be defined by User using the keyword

1

fun

2

def

3

function

4

Def

6

Multiple Choice

User defined name given to a

variable or a constant in a program.

1

keyword

2

literal

3

identifier

4

None of the above

7

Multiple Choice

Following is an example for Sequence

1

String

2

tuple

3

list

4

All of the Above

8

Fill in the Blank

The result of 10%2 will be

9

Multiple Choice

Assign a set containing strings ‘paper’, ‘Gel Pen’,

and ‘eraser’ to a variable stationery.

1

L= ("paper", "Gel Pen", "eraser")

2

stationery=

{"paper", "Gel Pen", "eraser"}

3

stationery=

("paper", "Gel Pen", "eraser")

4

stationery=

["paper", "Gel Pen", "eraser"]

10

Multiple Choice

An example for mapping

1

List

2

String

3

Dictionary

4

None of these

Operators in Python

media

Show answer

Auto Play

Slide 1 / 10

SLIDE