Lists - Built in Functions

Lists - Built in Functions

11th Grade

20 Qs

quiz-placeholder

Similar activities

Python Lists

Python Lists

9th - 12th Grade

17 Qs

SAINS KOMPUTER F5 BAB 3

SAINS KOMPUTER F5 BAB 3

10th - 12th Grade

18 Qs

Python Unit 6 Sequences Quiz

Python Unit 6 Sequences Quiz

9th - 12th Grade

20 Qs

List and Tuples

List and Tuples

9th - 12th Grade

22 Qs

Python End of Topic Quiz

Python End of Topic Quiz

8th Grade - University

15 Qs

Python Strings

Python Strings

11th Grade

21 Qs

Python - List and Tuples

Python - List and Tuples

11th - 12th Grade

20 Qs

Python_2R

Python_2R

KG - Professional Development

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?