Python [Make a list]

Quiz
•
Computers
•
8th Grade
•
Medium
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
Similar Resources on Wayground
14 questions
Photoshop 8th Quiz

Quiz
•
8th Grade
13 questions
Operating systems

Quiz
•
7th - 10th Grade
10 questions
Command Words

Quiz
•
8th Grade
10 questions
Coding 300 Coding Basics

Quiz
•
7th - 8th Grade
14 questions
Interactive Animations and Games from code.org

Quiz
•
7th - 12th Grade
14 questions
Coding Vocabulary

Quiz
•
8th Grade
11 questions
Python for Class 7

Quiz
•
7th - 8th Grade
13 questions
Google Sheets

Quiz
•
8th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
24 questions
Flinn Lab Safety Quiz

Quiz
•
5th - 8th Grade
15 questions
Wren Pride and School Procedures Worksheet

Quiz
•
8th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
10 questions
Converting Repeating Decimals to Fractions

Quiz
•
8th Grade