Module 08 - Lists

Quiz
•
Computers
•
10th Grade
•
Hard
Casey Devet
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following correctly creates a list?
names = "John", "Paul", "George", "Ringo"
names = {"John", "Paul", "George", "Ringo"}
names = ["John", "Paul", "George", "Ringo"]
names = ["John" "Paul" "George" "Ringo"]
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
True or False:
A list can only store numbers or strings.
True
False
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
True or False:
The first element in a list has index 1.
True
False
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which command will print "Davey"?
print(students)
print(students[3])
print(students[4])
print(students[5])
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the index of the last element of this list?
0
4
5
6
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which command will replace "Betty" with "Bobby" in the list?
students["Betty"] = "Bobby"
students[3] = "Betty"
students[2] = "Bobby"
students[1] = "Bobby"
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be printed if name has the value "Joe"?
ABC
XYZ
ABC
XYZ
Nothing
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Python_Exam

Quiz
•
6th - 10th Grade
12 questions
RPA Day 03 Sesi 05 Closing

Quiz
•
KG - 12th Grade
10 questions
Information Processing - File Organization/Access

Quiz
•
10th - 11th Grade
10 questions
BIM Final

Quiz
•
9th - 12th Grade
8 questions
J277 - 2.2 - Random Number Generation

Quiz
•
10th Grade - University
10 questions
Email Basics

Quiz
•
10th Grade - Professi...
15 questions
Python Programming

Quiz
•
5th Grade - University
10 questions
2.2 Web Addresses

Quiz
•
9th - 10th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade