
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
9 questions
English File Pre Int4 Sb u2 p22 Au 2.23 (General questions)
Passage
•
9th Grade
8 questions
Exploring Filipino culture
Passage
•
9th Grade
9 questions
Seismic Explorer
Passage
•
6th - 8th Grade
8 questions
Gateway b2 Ab u5 p41 Au ( read ) could you live without?
Passage
•
7th Grade
16 questions
Genre Quiz
Passage
•
8th Grade
17 questions
Kapayapaang Pandaigdig
Passage
•
8th Grade
9 questions
GE UNIT 11 LESSON A
Passage
•
9th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade