Using Indexes in Python Lists

Using Indexes in Python Lists

8th Grade

10 Qs

quiz-placeholder

Similar activities

Python Class 8 Assessment

Python Class 8 Assessment

6th - 8th Grade

10 Qs

MS-Excel 2016

MS-Excel 2016

8th Grade

10 Qs

Python list and tuple

Python list and tuple

6th - 8th Grade

10 Qs

Basics of Coding

Basics of Coding

6th - 10th Grade

12 Qs

Microsoft Excel - Basics, Formatting and Calculating

Microsoft Excel - Basics, Formatting and Calculating

6th - 8th Grade

10 Qs

Game Lab 1

Game Lab 1

8th Grade

15 Qs

CODE MINDZ - QUIZ ONE

CODE MINDZ - QUIZ ONE

8th Grade

8 Qs

Python Math

Python Math

1st - 12th Grade

10 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?