Which of these correctly represents a list? Options: colors = ["red", "blue", "green"], colors = "red", "blue", "green", colors = {"red", "blue", "green"}, colors = ("red", "blue", "green")
Python Semester 1 Check Point

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

42 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
colors = ["red", "blue", "green"]
2.
FLASHCARD QUESTION
Front
Each item in a list has an "address" or index. The first index in a Python list is what?
Back
0
3.
FLASHCARD QUESTION
Front
What is the position of the name 'Phillip' in the following list:
names = ["Paul","Phillip","Paula","Phillipa"]
Back
2
4.
FLASHCARD QUESTION
Front
In a list called "players", if you wanted to add a player called "Bob" to the list, which of the following examples of code would be correct? Options: players.add("Bob"), player.append("Bob"), players.append("Bob"), players.addend("Bob")
Back
players.append("Bob")
5.
FLASHCARD QUESTION
Front
In the following list, which item has the index number of 3?
["John", "Harry", "Jesse", "John", "Harry", "Harry"]
Back
"John"
6.
FLASHCARD QUESTION
Front
What does the '#' allow you to do?
Back
Comment on code
7.
FLASHCARD QUESTION
Front
An empty list can be declared as
Back
fruitList = []
Create a free account and access millions of resources
Similar Resources on Wayground
37 questions
AP CSP Exam Review

Flashcard
•
9th - 12th Grade
39 questions
021125 Project STEM Vocabulary and Concepts

Flashcard
•
9th - 12th Grade
40 questions
C++ Programming

Flashcard
•
9th - 12th Grade
40 questions
Python - Lists, Dictionaries and Loops

Flashcard
•
9th - 12th Grade
37 questions
AP CSP Pseudocode Assessment

Flashcard
•
9th - 12th Grade
36 questions
HTML & CSS (Code.org) Unit 2

Flashcard
•
9th - 12th Grade
38 questions
**AP CSP Dec Midterm Practice Exam

Flashcard
•
9th - 12th Grade
37 questions
AP CSP Exam Review

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade
Discover more resources for Computers
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade