Using Indexes in Python Lists

Using Indexes in Python Lists

8th Grade

10 Qs

quiz-placeholder

Similar activities

Spreadsheets

Spreadsheets

8th Grade

13 Qs

thanksgiving

thanksgiving

KG - University

10 Qs

Python Math

Python Math

1st - 12th Grade

10 Qs

Components of MS Word screen

Components of MS Word screen

6th - 8th Grade

11 Qs

Small Basic Quiz

Small Basic Quiz

7th - 9th Grade

12 Qs

Python 201 Lessons 2&3 Vocab

Python 201 Lessons 2&3 Vocab

6th - 8th Grade

12 Qs

Java Math

Java Math

1st - 12th Grade

10 Qs

Spreadsheets

Spreadsheets

8th Grade

13 Qs

Using Indexes in Python Lists

Using Indexes in Python Lists

Assessment

Quiz

Computers

8th Grade

Easy

Created by

O Moore

Used 19+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?