
List Manipulation Quiz 9
Authored by Reshma Kamthe
Computers
11th Grade
Used 14+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following list assignment
aList = [4, 8, 12, 16]
aList[1:4] = [20, 24, 28]
print(aList)
[4, 20, 24, 28, 8, 12, 16]
[4, 20, 24, 28]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of below Python code?
list1=[8,0,9,5]
print(list1[::-1])
[5,9,0,8]
[8,0,9]
[8,0,9,5]
[0,9,5]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sort () function in list by default sort the values in __________
Ascending order
Decending order
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose list1 is [1, 3, 2], What is list1 * 2 ?
[2, 6, 4].
[1, 3, 2, 1, 3]
[1, 3, 2, 1, 3, 2]
[1, 3, 2, 3, 2, 1]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
___________ method adds one list at the end of another list.
extend( )
append( )
insert( )
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
____________function can be used to insert an element/object at a specified index.
extend( )
insert ( )
append( )
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the value of the 'found' variable be after this code is run?
found = "No" in "No toast!"
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
conditional and iterative statements
Quiz
•
11th Grade
16 questions
Kod Arahan
Quiz
•
9th - 11th Grade
15 questions
CIW
Quiz
•
9th - 12th Grade
10 questions
Word basics
Quiz
•
8th - 12th Grade
20 questions
Repaso TIC- 1º-bach
Quiz
•
11th Grade
20 questions
UH - 01 VII
Quiz
•
1st - 12th Grade
20 questions
Microsoft Excel
Quiz
•
KG - Professional Dev...
10 questions
python-BTxâu
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade