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
8 questions
Joshua Bassett

Flashcard
•
8th - 12th Grade
9 questions
Java Methods

Flashcard
•
12th Grade
10 questions
American Revolution U.S. History STAAR review

Flashcard
•
8th Grade
11 questions
Ch1 Parts and Ports

Flashcard
•
KG - University
9 questions
Microsoft Outlook Flashcard-Review game

Flashcard
•
9th - 12th Grade
10 questions
World War II

Flashcard
•
10th Grade
10 questions
Standard 4 (a,b,c): American Revolution Part I

Flashcard
•
11th Grade
8 questions
User Input in Python

Flashcard
•
8th 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
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