Python Data Structures

Flashcard
•
Computers
•
10th Grade
•
Hard
Quizizz 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
11 questions
Java ArrayLists

Flashcard
•
10th Grade
11 questions
Java ArrayLists

Flashcard
•
10th Grade
10 questions
Enlightenment Thinkers and Documents

Flashcard
•
10th Grade
8 questions
Protestant Reformation

Flashcard
•
10th Grade
7 questions
By the Waters of Babylon Comprehension Questions

Flashcard
•
9th Grade
9 questions
Piratas del Caribe y el mapa secreto - Capítulo 5

Flashcard
•
8th - 10th Grade
10 questions
DYLANS WIFE

Flashcard
•
KG - 12th Grade
5 questions
Review Lists in Python (before Lab 8)

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade