Python Data Structures

Flashcard
•
Computers
•
10th Grade
•
Hard
Wayground Content
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
Create a free account and access millions of resources
Similar Resources on Wayground
7 questions
Book Trivia

Flashcard
•
12th Grade
5 questions
Variables

Flashcard
•
9th Grade
12 questions
Fun Fun

Flashcard
•
KG - 12th Grade
10 questions
DYLANS WIFE

Flashcard
•
KG - 12th Grade
10 questions
Brodie's Personal Information and Preferences

Flashcard
•
11th Grade
10 questions
Pop Culture Trivia

Flashcard
•
9th - 12th Grade
10 questions
Presidents 31-40: Years in Office

Flashcard
•
KG
11 questions
Function in Python

Flashcard
•
KG
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

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

Interactive video
•
6th - 10th Grade
17 questions
[AP CSP] Binary Number System

Lesson
•
9th - 12th Grade
15 questions
1.1 Network Fundamentals Quiz

Quiz
•
10th Grade
20 questions
Understanding Information Processing Cycle

Quiz
•
10th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade