What is a list in Python?

Lists and Tuples

Flashcard
•
Computers
•
KG
•
Hard
Mercy Omwoyo
FREE Resource
Student preview

9 questions
Show all answers
1.
FLASHCARD QUESTION
Front
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
In the list ["John", "Harry", "Jesse", "John", "Harry", "Harry"], which item has the index number of 3?
Back
John
4.
FLASHCARD QUESTION
Front
What would this code show on the screen?
Back
5
5.
FLASHCARD QUESTION
Front
For tuples and list which is correct?
Back
List is mutable whereas tuples are immutable.
6.
FLASHCARD QUESTION
Front
people = ["John", "Rob", "Bob"]
print (people[-1])
What would this result be?
Back
Bob
7.
FLASHCARD QUESTION
Front
Which is a correctly declared tuple?
Back
a = ("orange", "yellow", "red")
8.
FLASHCARD QUESTION
Front
Can you have an empty tuple z = () or an empty list w = []?
Back
yes
9.
FLASHCARD QUESTION
Front
Can you have lists inside of tuples and vice versa?
Back
Yes
Similar Resources on Quizizz
9 questions
Python Basic Flashcard 5 ( Lists and Tuples)

Flashcard
•
6th - 8th Grade
9 questions
Lists and Tuples in Python

Flashcard
•
KG
10 questions
ระบบจัดการฐานข้อมูล

Flashcard
•
1st Grade
10 questions
AI for Youth – Machine and Minds

Flashcard
•
8th Grade
10 questions
Fundamentos de Python

Flashcard
•
University
9 questions
Microsoft Outlook Flashcard-Review game

Flashcard
•
9th - 12th Grade
8 questions
Joshua Bassett

Flashcard
•
8th - 12th Grade
3 questions
Python Lists

Flashcard
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Identifying equations

Quiz
•
KG - University
15 questions
Music 2016

Quiz
•
KG - 12th Grade
44 questions
logos

Quiz
•
KG - University
20 questions
Disney Characters

Quiz
•
KG
20 questions
Kids shows

Quiz
•
KG
20 questions
Guess that Disney

Quiz
•
KG - 5th Grade
20 questions
Cartoon Characters!

Quiz
•
KG - 5th Grade