
Python List Quiz
Passage
•
Computers
•
8th Grade
•
Practice Problem
•
Medium
Wayground Content
Used 3+ 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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
16 questions
GCSE spanish Photo Cards Quiz
Passage
•
9th Grade
7 questions
"Lion" - plot of the movie and exercises
Passage
•
8th Grade
8 questions
Move Over NVIDIA Stock Split Article
Passage
•
9th Grade
15 questions
Monetary and Fiscal Policy Quiz
Passage
•
KG
15 questions
Marie Sklodowski-Curie
Passage
•
8th Grade
14 questions
DERECHOS HUMANOS
Passage
•
9th Grade
14 questions
Northern Ireland
Passage
•
7th Grade
16 questions
Quiz Q2
Passage
•
7th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade