Lists in Python

Lists in Python

6th - 8th Grade

6 Qs

quiz-placeholder

Similar activities

Python (basics)

Python (basics)

1st Grade - University

11 Qs

Lego Spike & Python - Challenge 3 Quiz

Lego Spike & Python - Challenge 3 Quiz

6th - 8th Grade

10 Qs

Coding

Coding

6th Grade

10 Qs

LOOPS AND FLOW CONTROL STATEMENTS

LOOPS AND FLOW CONTROL STATEMENTS

8th Grade

10 Qs

Condition Programming Quiz

Condition Programming Quiz

1st Grade - University

9 Qs

Mikro:bit 6.a

Mikro:bit 6.a

6th Grade

10 Qs

MIS-RODOCODO

MIS-RODOCODO

1st Grade - University

8 Qs

Programming Vocab

Programming Vocab

8th Grade

8 Qs

Lists in Python

Lists in Python

Assessment

Quiz

Information Technology (IT)

6th - 8th Grade

Medium

Created by

Fatmah Alkhzaimi

Used 7+ times

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a list in Python?

  • list = {1, 2, 3}

list = [1, 2, 3]

list = (1, 2, 3)

list = "1, 2, 3"

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the following code print?

apple

banana

cherry

Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code?

10

20

30

40

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You can change the value of an item in a list after creating it.

True

False

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What do we use to separate items in a list

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

names = ["Nouf", "Hamda", "Mariam", "Latifa"]

What index is the list value "Mariam" located?

0

1

2

3