PYTHON LISTS

PYTHON LISTS

6th Grade

17 Qs

quiz-placeholder

Similar activities

/Python_Quiz\

/Python_Quiz\

KG - Professional Development

20 Qs

Python_2

Python_2

6th - 8th Grade

20 Qs

Greetings

Greetings

3rd - 12th Grade

12 Qs

Python Level 1

Python Level 1

3rd - 8th Grade

20 Qs

Computer Programming Languages

Computer Programming Languages

4th - 6th Grade

17 Qs

Milestone Exkul SMP SMA - Q5_2022_Basic Python Syntax

Milestone Exkul SMP SMA - Q5_2022_Basic Python Syntax

6th - 8th Grade

15 Qs

Python Lists

Python Lists

6th - 10th Grade

15 Qs

Python List

Python List

4th Grade - University

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