Python L1 Quiz 4: Lists

Python L1 Quiz 4: Lists

1st - 12th Grade

10 Qs

quiz-placeholder

Similar activities

RECAPS

RECAPS

12th Grade

10 Qs

PEMOGRAMAN DASAR X KJ 1

PEMOGRAMAN DASAR X KJ 1

10th Grade

10 Qs

Python web level 1

Python web level 1

8th Grade

10 Qs

ETWINNING SID EVENT 24

ETWINNING SID EVENT 24

1st - 12th Grade

10 Qs

media transmisyjne

media transmisyjne

9th Grade

10 Qs

input and output device

input and output device

3rd Grade

15 Qs

Thinglink

Thinglink

9th - 12th Grade

10 Qs

💯 Quiz 1:Work with Fractions in Google Sheets

💯 Quiz 1:Work with Fractions in Google Sheets

8th Grade

10 Qs

Python L1 Quiz 4: Lists

Python L1 Quiz 4: Lists

Assessment

Quiz

Computers

1st - 12th Grade

Medium

Created by

Jerry Xiao

Used 372+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

True or False: The index 1 identifies the first element in a list.

True

False

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

True or False: Lists can only contain integers.

True

False

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What will always be the index of the last item in a list?


(You may select multiple answers)

-0

-1

0

The size of the list minus 1

4.

MULTIPLE SELECT QUESTION

3 mins • 1 pt

Media Image

Which code will print cat?


(You may select multiple answers)

print(my_list[1])

print(my_list[2])

print(my_list[-2])

print(my_list[-3])

5.

MULTIPLE SELECT QUESTION

3 mins • 1 pt

Which index will get the first item in a list?


(You may select multiple answers)

0

1

the size of the list, as a negative number

-1

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the output of the following code?


arr = [10, 20, 30, 40, 50, 60]

print(len(arr))ㅤㅤㅤㅤㅤㅤ

0

6

5

SyntaxError

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the output of the following code?


value = [[10, 20, 30], [40, 50, 60]]

print(len(value))ㅤㅤㅤㅤㅤㅤㅤ

2

3

6

0

Access all questions and much more by creating a free account

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

Already have an account?