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
12 questions
CSP: Unit 3 - Block Code Types

Quiz
•
9th - 12th Grade
10 questions
Classification Models

Quiz
•
9th - 12th Grade
10 questions
AQA GCSE Computer Science - 3.4.4 Main/Secondary Storage

Quiz
•
8th - 10th Grade
10 questions
Python массив

Quiz
•
9th - 12th Grade
15 questions
AP CSP Exam Review: Big Idea 3

Quiz
•
8th - 10th Grade
5 questions
Codify: Code Pioneers

Quiz
•
9th - 12th Grade
10 questions
storage devices

Quiz
•
7th - 10th Grade
10 questions
WJEC GCSE Computer Science - Hardware Architecture

Quiz
•
9th - 10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade