Python List Quiz

Python List Quiz

11th Grade

10 Qs

quiz-placeholder

Similar activities

Les variables sous Python

Les variables sous Python

10th - 12th Grade

10 Qs

Laser Defender Part 2 Worksheet

Laser Defender Part 2 Worksheet

9th - 12th Grade

15 Qs

QUIZ INTEGRASI PERKANTORAN - KELAS X

QUIZ INTEGRASI PERKANTORAN - KELAS X

10th Grade - University

15 Qs

Excel(Errores y gráficos)

Excel(Errores y gráficos)

9th - 12th Grade

11 Qs

U1L2 Gossip Review

U1L2 Gossip Review

9th - 12th Grade

10 Qs

Programing test

Programing test

1st Grade - University

10 Qs

Files and Management

Files and Management

9th - 12th Grade

10 Qs

Java Code Tracing Practice A

Java Code Tracing Practice A

9th - 12th Grade

10 Qs

Python List Quiz

Python List Quiz

Assessment

Quiz

Computers

11th Grade

Practice Problem

Medium

Created by

Vinita Sharma

Used 8+ 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

30 sec • 1 pt

Suppose list1 is [1, 5, 9], what is sum(list1)?

1

9

15

Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose list1 is [3, 5, 25, 1, 3], what is min(list1)?

3

5

25

1

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose list1 is [2, 33, 222, 14, 25], What is list1[-1]?

Error

None

25

2

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose listExample is ['h','e','l','l','o'], what is len(listExample)?

5

4

None

Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose list1 is [2445,133,12454,123], what is max(list1)?

2445

133

12454

123

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose list1 is [2, 33, 222, 14, 25], What is list1[:-1]?

[2, 33, 222, 14]

Error

25

[25, 14, 222, 33, 2]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following commands will create a list?

list1 = list()

list1 = []

list1 = list([1, 2, 3])

all of the mentioned

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

Already have an account?