Python Data Structures
Flashcard
•
Computers
•
10th Grade
•
Practice Problem
•
Hard
Wayground Content
Used 2+ times
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of these is the best description of a list in Python? A list is a collection of data that has an order and can be changed, A list is a lot of variables, A list is used for shopping, A list is a collection of data that cannot hold duplicated data and cannot be changed
Back
A list is a collection of data that has an order and can be changed
2.
FLASHCARD QUESTION
Front
Which of these is the correct code for creating a list of names? Options: nameList = John, Harry, Jesse, John, Harry, Harry; nameList = ("John", "Harry", "Jesse", "John", "Harry", "Harry"); nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]; nameList = [John, Harry, Jesse, John, Harry, Harry]
Back
nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]
3.
FLASHCARD QUESTION
Front
Which of these pieces of code would return the name "Harry" from the following list? nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"] Options: nameList(), nameList[1], NameList(4), nameList["4"]
Back
nameList[1]
4.
FLASHCARD QUESTION
Front
What would this output? print(users[0][0])
Back
sam
5.
FLASHCARD QUESTION
Front
What would this output? print(users[2][1])
Back
brown
6.
FLASHCARD QUESTION
Front
What would this output? print(users[0][2])
Back
23
7.
FLASHCARD QUESTION
Front
What would this output? print(users1)
Back
sam, smith, 23
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
14 questions
World History - Imperialism
Flashcard
•
9th - 10th Grade
12 questions
Educational Philosophy Practice
Flashcard
•
9th - 12th Grade
15 questions
Cladograms & Phylogenetic Trees
Flashcard
•
10th Grade
4 questions
Seasons
Flashcard
•
KG
11 questions
Immune System
Flashcard
•
9th - 10th Grade
8 questions
Classroom Expectations and Materials
Flashcard
•
9th - 12th Grade
8 questions
Classroom Expectations and Materials
Flashcard
•
9th - 12th Grade
10 questions
Knowledge Check (Causes of the Civil War)
Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade