
Using Indexes in Python Lists
Authored by O Moore
Computers
8th Grade
10 Questions
Used 20+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
days = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"]
print(days[0])
When this program is executed, what will be displayed on the screen?
Tuesday
Friday
Monday
Wednesday
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
days = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"]
print(days[1])
When this program is executed, what will be displayed on the screen?
Tuesday
Friday
Monday
Wednesday
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
days = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"]
print(days[4])
When this program is executed, what will be displayed on the screen?
Tuesday
Friday
Monday
Wednesday
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
days = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"]
print(days[7])
When this program is executed, what will be displayed on the screen?
Tuesday
Friday
An IndexError will occur.
Wednesday
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
days = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"]
day = 3
print(days[day])
When this program is executed, what will be displayed on the screen?
Tuesday
Friday
Tuesday
Thursday
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
days = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"]
day = 3
print(days[day-1])
When this program is executed, what will be displayed on the screen?
Tuesday
Friday
Tuesday
Wednesday
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
names = ["Peter", "Sarah", "John", "Kirsty", "Leah", "Anshika", "Mo"]
name = 3
print(names[name])
When this program is executed, what will be displayed on the screen?
Sarah
Kirsty
Mo
Anshika
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
11 questions
IGCSE ICT Application
Quiz
•
7th - 9th Grade
13 questions
Principles of Programming
Quiz
•
KG - University
12 questions
C++ References
Quiz
•
6th - 12th Grade
14 questions
Scratch Exam 8
Quiz
•
8th Grade
10 questions
Flowchart
Quiz
•
1st - 9th Grade
10 questions
Python Inputs
Quiz
•
7th - 8th Grade
14 questions
J276 1.1 System Architecture
Quiz
•
1st - 9th Grade
12 questions
Ch-8 Iterative statements in Python
Quiz
•
8th 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