Lists - Built in Functions

Quiz
•
Computers
•
11th Grade
•
Hard

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
Similar Resources on Wayground
16 questions
Searching & Sorting Algorithms

Quiz
•
10th Grade - University
15 questions
Computer Science - Python

Quiz
•
9th - 12th Grade
20 questions
Mail Merge

Quiz
•
10th - 11th Grade
15 questions
Python End of Topic Quiz

Quiz
•
8th Grade - University
15 questions
Python Unit 8 Quiz

Quiz
•
9th - 12th Grade
18 questions
Search & Sort Algorithms

Quiz
•
7th - 11th Grade
15 questions
AS Computing: Data Structures

Quiz
•
10th Grade - University
20 questions
2.1 Algorithms

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade