Python Lists

Python Lists

University

10 Qs

quiz-placeholder

Similar activities

6-DAYA DAN ENERGI LISTRIK

6-DAYA DAN ENERGI LISTRIK

University

10 Qs

Recursos didácticos

Recursos didácticos

University

15 Qs

KPK BAB 13

KPK BAB 13

University

12 Qs

Protección de Pies y oídos

Protección de Pies y oídos

University

10 Qs

Textile Technology 1

Textile Technology 1

University

15 Qs

Excel 2

Excel 2

University

10 Qs

ICT Matters

ICT Matters

4th Grade - Professional Development

10 Qs

Profesi

Profesi

University - Professional Development

10 Qs

Python Lists

Python Lists

Assessment

Quiz

Instructional Technology

University

Practice Problem

Medium

Created by

Kelvin Kipchumba

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

What is a list?

A list is an unordered, unchangeable collection of items and do not alow duplicate values

A list is an unordered, changeable collection of items that can hold duplicate values

A list is an ordered, changeable collection of items that can hold duplicate values

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

How do you create a list in Python?

list = (1, 2, 3)

list = {1, 2, 3}

list = [1, 2, 3]

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which method adds an item to the end of a list?

add()

append()

insert()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does list.insert(2, 'x') do?

Adds 'x' at index 2

Adds 'x' at the end

Replaces item at index 2 with 'x'

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will list.pop() do?

Remove the first item

Remove the last item

Remove a random item

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the output of len([1, 2, 3])

2

3

1

0

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method removes the first matching value from a list?

remove()

pop()

delete()

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?