PYTHON LISTS

PYTHON LISTS

6th Grade

17 Qs

quiz-placeholder

Similar activities

Python - тест

Python - тест

1st - 12th Grade

15 Qs

Python Quiz

Python Quiz

5th - 10th Grade

15 Qs

HTML5 Basics

HTML5 Basics

6th - 12th Grade

20 Qs

Python Data types & Exceptions

Python Data types & Exceptions

1st - 10th Grade

14 Qs

test 4-1

test 4-1

6th Grade

18 Qs

6-сынып python

6-сынып python

6th Grade

20 Qs

6. Python (списки)

6. Python (списки)

5th - 9th Grade

17 Qs

Python II Lesson 2

Python II Lesson 2

5th - 9th Grade

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