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
38 questions
AP Computer Science Principles Practice

Flashcard
•
10th Grade
33 questions
Foods I Final Exam

Flashcard
•
10th - 12th Grade
32 questions
S1 Enviro Sci Review

Flashcard
•
9th - 12th Grade
32 questions
Stack/Queue Review

Flashcard
•
11th Grade - University
26 questions
lists in python

Flashcard
•
11th - 12th Grade
32 questions
Word Module 3 Revi

Flashcard
•
9th - 12th Grade
38 questions
Unit 6: Google Slides Review

Flashcard
•
KG - University
36 questions
AP CSP UNit 6 - Lists loops and Traversals

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

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th 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
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade