Python [Make a list]

Python [Make a list]

8th Grade

9 Qs

quiz-placeholder

Similar activities

Piggy Book 2 Quiz! (Part 2)

Piggy Book 2 Quiz! (Part 2)

3rd - 12th Grade

13 Qs

Minecraft

Minecraft

4th - 12th Grade

12 Qs

Coding Vocabulary

Coding Vocabulary

8th Grade

14 Qs

4.7 Word Quizizz

4.7 Word Quizizz

8th - 12th Grade

10 Qs

piggy book  2 quiz

piggy book 2 quiz

1st Grade - University

9 Qs

Lesson 8 Knowledge Assessment

Lesson 8 Knowledge Assessment

6th Grade - University

10 Qs

MOAC Excel 2016 Lesson 03

MOAC Excel 2016 Lesson 03

8th - 12th Grade

10 Qs

User Interfaces

User Interfaces

8th - 11th Grade

12 Qs

Python [Make a list]

Python [Make a list]

Assessment

Quiz

Computers

8th Grade

Medium

Created by

Manik Kusuma

Used 5+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Check the command below:

trees = ["oak", "beech"', "willow"]

How many elements are in this list?

1

2

3

4

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Write the command to append the value of the trees

"sycamore" to the list.

trees.append("sycamore")

append("sycamore")

trees.append("sycamore");

trees.append('Sycamore')

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

is it for loop or while loop?

you want to add element to the list, but you are not sure how many elements there will be?

for loop (counter loop)

while loop (conditional loop)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Question about index number

check the command list below:

trees = ["oak", "beech", "willow"]
what is the value of the element [0]?

oak

beech

willow

error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Question about index number

check the command list below:

trees = ["oak", "beech", "willow"]
what is the value of the element [2]?

oak

beech

willow

error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Question about index number

check the command list below:

trees = ["oak", "beech", "willow"]
what is the command to delete element [2]?

del trees [2]

delete trees [2]

del Trees [2]

Del trees [2]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Question about index number

check the command list below:

trees = ["oak", "beech", "willow"]
what is the value of the element [6]?

oak

beech

willow

error (out bond error)

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Question about validation

check the command list below:

trees = ["oak", "beech", "willow"]
What wouId be the output of these commands?

number = len(trees)

print(number)

1

2

3

4

9.

LABELLING QUESTION

1 min • 1 pt

Identify the components of the code editor interface.
a
b
c
d
e
f
g
Clear the result
Code Editor
Download the result
Share Button
Open file
Run Button
Save File

Discover more resources for Computers