List items have an index number. In the following list, which item has the index number of 3?
["John", "Harry", "Jesse", "John", "Harry", "Harry"]
Python Lists
Quiz
•
Computers
•
8th Grade
•
Medium
Paul Meehan
Used 30+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
List items have an index number. In the following list, which item has the index number of 3?
["John", "Harry", "Jesse", "John", "Harry", "Harry"]
"John"
"Harry"
"Jesse"
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these pieces of code would return the name "Harry" from the following list?
nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]
nameList()
nameList[1]
NameList(4)
nameList["4"]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is a list?
["apples", "oranges", "bananas"]
"apples", "oranges", "bananas"
{"apples", "oranges", "bananas"}
("apples", "oranges", "bananas")
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An empty list can be declared as
fruitList = ""
fruitList = ["empty"]
fruitList == []
fruitList = []
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Is this the correct code for a list?
register = {"Sam", "Pheobe", Georgia", Richard"}
Yes
No
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
9 questions
Scratch Vocabulary
Quiz
•
3rd Grade - University
10 questions
Input and Output Devices
Quiz
•
7th - 9th Grade
12 questions
Lists IN PYTHON!!!!!!!!
Quiz
•
KG - 12th Grade
12 questions
Python L21 Nesting & Dictionaries
Quiz
•
6th - 8th Grade
12 questions
Sequencing, Selection and Iteration
Quiz
•
8th - 10th Grade
10 questions
HTML Tags
Quiz
•
6th - 8th Grade
11 questions
Advanced Spreadsheet Functions Review
Quiz
•
8th Grade
10 questions
HTML Basics
Quiz
•
7th - 10th Grade
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
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University
44 questions
El fin del año- 7th
Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary
Quiz
•
8th Grade
17 questions
guess the logo
Quiz
•
8th Grade
16 questions
Function or Non-Function?
Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons
Quiz
•
8th Grade