PYTHON LISTS

PYTHON LISTS

6th Grade

17 Qs

quiz-placeholder

Similar activities

Ipad

Ipad

1st Grade - Professional Development

15 Qs

Sejarah Komputer 2

Sejarah Komputer 2

1st - 12th Grade

15 Qs

Pravila lijepog ponašanja na internetu

Pravila lijepog ponašanja na internetu

5th - 8th Grade

14 Qs

P6 Review Term 2 2022

P6 Review Term 2 2022

6th Grade

20 Qs

икт 21-40

икт 21-40

1st Grade - University

20 Qs

Dzień Bezpiecznego Internetu 2021

Dzień Bezpiecznego Internetu 2021

4th - 8th Grade

20 Qs

Computer Nut Class 6

Computer Nut Class 6

6th - 7th Grade

18 Qs

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

PYTHON LISTS

PYTHON LISTS

Assessment

Quiz

Computers

6th Grade

Medium

Created by

Fazla Fairooz

Used 62+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?