Lists - Built in Functions

Lists - Built in Functions

11th Grade

20 Qs

quiz-placeholder

Similar activities

Lists in Python

Lists in Python

11th - 12th Grade

20 Qs

Strings, Lists & Tuples

Strings, Lists & Tuples

9th - 12th Grade

20 Qs

MS Word

MS Word

6th - 12th Grade

20 Qs

IT QUEST

IT QUEST

11th Grade

20 Qs

[AP CSP] Programming: LISTS/ARRAYS (Python)

[AP CSP] Programming: LISTS/ARRAYS (Python)

9th - 12th Grade

16 Qs

Python Lists

Python Lists

9th - 12th Grade

15 Qs

Python Strings

Python Strings

11th Grade

21 Qs

Python Strings & Lists

Python Strings & Lists

11th - 12th Grade

20 Qs

Lists - Built in Functions

Lists - Built in Functions

Assessment

Quiz

Computers

11th Grade

Hard

Created by

MONA THAPAR

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