Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Python Lists Quiz

Total questions: 6

Worksheet time: 3mins

Name
Class
Date
1.

What will be the length of the list ,x x=["Gr11",["11A","11B",["11C"],"CBSE",2026]]

a)

3

b)

4

c)

2

d)

1

2.
a)

60

b)

No output

c)

Name Error

d)

Index Error

3.

Which operation modifies an existing list,lst in-place?

a)

new = lst + [4]

b)

lst.append(4)

c)

sorted(lst)

d)

lst * 2

4.

Lists in Python are immutable.

a)

True

b)

False

5.
a)

[1,2,3,4] [1,2,3,4]

b)

[1,2,3,4] [1,2,3]

c)

[1,2,3] [1,2,3]

d)

Error

6.
a)

[1,2,3,4] [1,2,3,4]

b)

[1,2,3,4] [1,2,3]

c)

[1,2,3] [1,2,3]

d)

Error