
Python List Quiz

Passage
•
Computers
•
8th Grade
•
Medium
Quizizz Content
Used 2+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What day of the week is represented by days[3] in the given Python list?
Monday
Tuesday
Thursday
Friday
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output when the following lines of code are executed? index = 1
item = days[index+1]
print(index, item)
1 Tuesday
1 Wednesday
2 Thursday
2 Wednesday
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Based on the given Python list, which index should be used to display 'Saturday'?
5
6
7
4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the user types 1 on the keyboard, what will be the output of this program when it is executed?
It's a rocky planet
The second letter is e
The second letter is u
IndexError
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the user types 3 on the keyboard, what will be the output of this program when it is executed?
It's a rocky planet
The second letter is a
The second letter is r
IndexError
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose that the elif in line 8 is modified to an if. If the user types 1 on the keyboard, what will be the output of this program when it is executed?
It's a rocky planet
The second letter is e
The second letter is u
Both A and B
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the program if the variable 'letter' is set to 'c'?
2
3
'd'
'c' + 1
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Atmospheric Science Quiz

Passage
•
8th Grade
16 questions
Line and Paragraph Spacing - GCFGlobal (15)

Passage
•
8th Grade
14 questions
Python Error Handling Quiz

Passage
•
7th Grade
16 questions
Christmas Stories Quiz

Passage
•
8th Grade
16 questions
Reproduction Quiz

Passage
•
8th Grade
9 questions
Magnetism Practice

Passage
•
8th Grade
12 questions
DNA Structure and Function Assignment

Passage
•
9th Grade
7 questions
Bases Reading

Passage
•
9th - 10th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade