Sorting Simple List and List processing in Python
Quiz
•
Computers
•
9th Grade
•
Medium
William Lugo
Used 8+ times
FREE Resource
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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
13 questions
Copyrights and Wrongs Assessment
Quiz
•
9th - 12th Grade
17 questions
Hardware vs Software
Quiz
•
6th - 12th Grade
15 questions
Programming - What Do I Know?
Quiz
•
7th - 9th Grade
14 questions
LA5.C5: Branching and Subroutines
Quiz
•
9th Grade - University
18 questions
Cyber Security and Social Engineering
Quiz
•
9th - 11th Grade
20 questions
Sains Komputer Tingkatan 5 - 1.3.1 Menerangkan get logik
Quiz
•
1st Grade - Professio...
13 questions
Video games
Quiz
•
1st - 9th Grade
20 questions
INTERNET
Quiz
•
7th - 9th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
18 questions
Artificial Intelligence and Machine Learning Quiz
Quiz
•
9th Grade
35 questions
Computer Terminology Exercise #1 ( Multiple Choice)
Quiz
•
9th Grade
20 questions
Computer Components Exercise #4 - CTEA
Quiz
•
9th - 12th Grade
30 questions
Computer Terminology Exercise #1 ( Fill Ins)
Quiz
•
9th Grade