Search Header Logo

Python Lists and Tuples Quiz

Authored by Hari Kathrani

Computers

11th Grade

Used 4+ times

Python Lists and Tuples Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one is a list?

[1, 2, 3]

(1, 2, 3)

x = 1, 2, 3

y = (6, 7, 3)

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which one is a tuple?

(1, 2, 3)

[1, 2, 3]

x = 1, 2, 3

y = [6, 7, 3]

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Are lists and tuples a collection of items?

Yes

No

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the list ['s', 'k', 'i', 'b', 'i', 'd', 'i'], what letter is the 3rd index?

i

b

k

d

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function do we use to add items to a list?

.append(item)

.remove(element)

.pop(index)

.clear()

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?