Python Lists
Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Jakobi Gorham
Used 48+ times
FREE Resource
Enhance your content in a minute
27 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of these is the correct code for creating a list of names?
nameList = John, Harry, Jesse, John, Harry, Harry
nameList = ("John", "Harry", "Jesse", "John", "Harry", "Harry")
nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]
nameList = [John, Harry, Jesse, John, Harry, Harry]
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
List items have an index number. In the following list, which item has the index number of 3?
["John", "Harry", "Jesse", "John", "Harry", "Harry"]
"John"
"Harry"
"Jesse"
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
The list needs one more name added to the end - "Felipe". Which piece of code below would do this?
nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]
nameList.append(Felipe)
append(nameList,"Felipe")
nameList.append["Felipe",7]
nameList.append("Felipe")
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What output will this code produce?
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Consider this list, what will be the highest index the list can have:
li=[1,2,3,4,5]
2
3
4
5
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
The count() method returns the number of times the specified element appears in the list.
What is the output of this code?
3
2
1
0
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the output of this code?
X
Y
Error
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
Already have an account?
Similar Resources on Wayground
23 questions
DDD2 Y10 19th July Networks
Quiz
•
10th Grade
22 questions
Computers
Quiz
•
12th Grade
25 questions
Excel dasar
Quiz
•
12th Grade
23 questions
Підсумковий тест 7 Python
Quiz
•
10th Grade
23 questions
Computing Literacy Lessons 1-5
Quiz
•
9th - 10th Grade
25 questions
CS-9 Chapter-5 Computer Software Part3: Rabin Ghimire
Quiz
•
10th Grade
24 questions
Asesment formatif : Informatika Masa Kini dan Masa Depan
Quiz
•
12th Grade
27 questions
Adobe Illustrator Quiz Review
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Computers
40 questions
Introduction to Microsoft Word
Quiz
•
8th - 12th Grade
85 questions
Word Processing Review
Quiz
•
8th - 9th Grade
11 questions
Internet Terms Vocabulary- Notebook Check #1- CTEA
Quiz
•
12th Grade
39 questions
UNIT 7 and UNIT 8 — Multiple Choice Question Bank (Extracted)
Quiz
•
9th Grade
31 questions
Python Conditionals Review
Quiz
•
9th - 12th Grade
