Python Semester 1 Check Point

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

42 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of these correctly represents a list? Options: colors = ["red", "blue", "green"], colors = "red", "blue", "green", colors = {"red", "blue", "green"}, colors = ("red", "blue", "green")
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 CS A Unit 1 Review

Flashcard
•
9th - 12th Grade
39 questions
Code.org Lists, Loops, Traversals Review

Flashcard
•
9th - 12th Grade
37 questions
AP CSP - Unit 4 Code.org Review

Flashcard
•
9th - 12th Grade
37 questions
AP CSP - Unit 4 Code.org Review

Flashcard
•
9th - 12th Grade
38 questions
AP Computer Science Principles Practice Exam

Flashcard
•
9th - 12th Grade
36 questions
Unit 4: Variables, Conditionals, & Functions (APCSP '23-'24)

Flashcard
•
9th - 12th Grade
38 questions
Java String & Math Class Review

Flashcard
•
9th - 12th Grade
37 questions
AP CSP - Unit 4 Code.org Review

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th 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
Introduction to Desktop Computer Systems

Quiz
•
9th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Computer Hardware and Input/Output Devices

Interactive video
•
6th - 10th Grade