PYTHON LISTS

PYTHON LISTS

6th Grade

17 Qs

quiz-placeholder

Similar activities

HTML Review

HTML Review

5th - 8th Grade

15 Qs

Name the Harry Potter Characters

Name the Harry Potter Characters

KG - University

18 Qs

Filmy a seriály

Filmy a seriály

5th - 9th Grade

12 Qs

Python II Lesson 2

Python II Lesson 2

5th - 9th Grade

12 Qs

Web Design- HTML Review

Web Design- HTML Review

KG - University

17 Qs

HTML тегтері

HTML тегтері

1st Grade - University

13 Qs

Html Lists and Tables

Html Lists and Tables

6th Grade

20 Qs

CSS Basics

CSS Basics

6th - 12th Grade

21 Qs

PYTHON LISTS

PYTHON LISTS

Assessment

Quiz

Computers

6th Grade

Medium

Created by

Fazla Fairooz

Used 62+ times

FREE Resource

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lists use _____ to access values

values

indexes

key values

keys

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider this list, what will be the highest index the list can have:

li=[1,2,3,4,5]

2

3

4

5

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider this list, what will be the output of the following:


li=[1,2,3,4,3,2,1]

print(li[-3])

4

3

2

1

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider this list, what will be the output of the following:


li=[1,2,3,4,3,2,1]

print(li[3])

4

3

2

1

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider this list, what will be the output of the following:


li=[1,2,3,4,3,2,1]

print(li[3:4])

1

2

3

4

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider list list, what will be the output of the following


li=[[‘a’,’b’]]

print(li[0][0])

a

b

None

None of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Do lists preserve the order of the elements they contain?

Yes

No

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?