PYTHON LISTS

PYTHON LISTS

6th Grade

17 Qs

quiz-placeholder

Similar activities

Harry Potter

Harry Potter

6th Grade - University

16 Qs

CIW HTML5

CIW HTML5

6th - 12th Grade

20 Qs

HTML5 Study Guide Questions

HTML5 Study Guide Questions

6th - 12th Grade

20 Qs

HTML Basics and Code Structure

HTML Basics and Code Structure

6th - 8th Grade

18 Qs

Data Structures

Data Structures

6th - 8th Grade

21 Qs

EVALUACION 6 DE SECUNDARIA

EVALUACION 6 DE SECUNDARIA

6th Grade

15 Qs

Guess the Video Game Character 7

Guess the Video Game Character 7

KG - Professional Development

13 Qs

Basic HTML Vocabulary part 1

Basic HTML Vocabulary part 1

6th - 7th Grade

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