Lists - Built in Functions

Lists - Built in Functions

11th Grade

20 Qs

quiz-placeholder

Similar activities

Python Listy - 3A

Python Listy - 3A

9th Grade - University

16 Qs

Programming - Screening Test

Programming - Screening Test

3rd Grade - Professional Development

15 Qs

Lists and Tuples - Class 11 - Python

Lists and Tuples - Class 11 - Python

11th Grade

20 Qs

2D Lists and Arrays

2D Lists and Arrays

10th - 12th Grade

15 Qs

Mastering Python Lists

Mastering Python Lists

11th Grade

20 Qs

Unit 6: Loops and Traversals Test

Unit 6: Loops and Traversals Test

10th - 12th Grade

20 Qs

Lists and Tuples

Lists and Tuples

11th Grade

19 Qs

IP - 8/09/23

IP - 8/09/23

11th Grade

21 Qs

Lists - Built in Functions

Lists - Built in Functions

Assessment

Quiz

Computers

11th Grade

Hard

Created by

MONA THAPAR

Used 39+ times

FREE Resource

20 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Name the function that is used to create an empty list.

2.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

What will be the output of the following Code?

P = '~~Happy Diwali~~'

print(len(list(P))

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which function(s) out of the following will increase the length of the list?

insert()

index()

append()

extend()

reverse()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the output of the following code?

A = [10,5,'ABC', 3, 'XYZ', 4]

print(A.sort())

['ABC', 'XYZ', 3,4 5,10]

['XYZ', 'ABC', 10,5,4,3]

[ 3,4 5,10, 'ABC', 'XYZ',]

TypeError

5.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Which function will add a list to the end of another list as a single element?

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Select the functions from the following that carry out inplace operation in the given list.

sum()

clear()

insert()

sorted()

sort()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a function in Python?

pop

remove

del

clear

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?