Sorting Simple List and List processing in Python
Quiz
•
Computers
•
9th Grade
•
Practice Problem
•
Medium
William Lugo
Used 8+ times
FREE Resource
Enhance your content in a minute
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
You can use the sort() method to add all the elements of a list.
True
False
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What will be the output of this snippet .
[1, 2, 3, 4, 5]
[5, 3, 1, 2, 4]
[5, 3, 1, 2, 4]
[1, 2, 3, 4, 5]
[1, 2, 3, 4, 5]
[5, 3, 1, 2, 4]
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
The list method called reverse(), can be used to reverse the order of the values in a list.
True
False
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What will be the output of the snippet?
['d', 'c', 'b', 'a']
['a', 'b', 'c', 'd']
['d', 'c', 'b', 'a']
['a', 'b', 'c', 'd']
['a', 'b', 'c', 'd']
['d', 'c', 'b', 'a']
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is the output of the following snippet?
[ a, c, b]
[ ]
['Chispi', 'Mauro', 'Yuki']
NameError: name 'Mauro' is not defined
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is the output of the following snippet?
[ 'A',' ', 'C', 'B',]
[' ', 'C', 'B', 'A']
['A', 'B', 'C', ' ']
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
If you have a list l1, then the following assignment: l2 = l1 does not make a copy of the l1 list, but makes the variables l1 and l2 point to one and the same list in memory.
True
False
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
20 questions
IPST_SE
Quiz
•
9th - 10th Grade
20 questions
Intro to IT Ch 3 Quiz Review
Quiz
•
9th - 12th Grade
12 questions
PF 4.01 and 4.02
Quiz
•
9th - 12th Grade
15 questions
Environmental Impacts
Quiz
•
9th - 12th Grade
14 questions
Social media marketing
Quiz
•
1st - 10th Grade
19 questions
GCSE 3.4 Computer systems - Hardware & Software
Quiz
•
9th - 11th Grade
15 questions
Cyber Security Homework 1
Quiz
•
7th - 9th Grade
20 questions
End of year quiz: Python
Quiz
•
9th 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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
