Check the command below:
trees = ["oak", "beech"', "willow"]
How many elements are in this list?
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
10 questions
MOAC Word 2016 Lesson 3
Quiz
•
8th - 12th Grade
14 questions
Identifying and Understanding the Microsoft Word Interface
Quiz
•
8th - 12th Grade
10 questions
MOAC Excel 2016 Lesson 03
Quiz
•
8th - 12th Grade
13 questions
Google Sheets
Quiz
•
8th Grade
10 questions
Coding - Computer Programming
Quiz
•
KG - University
10 questions
MS Logo
Quiz
•
4th - 9th Grade
12 questions
Computer Science
Quiz
•
3rd - 12th Grade
10 questions
MOAC Word 2016 Lesson 2
Quiz
•
8th - 12th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
10 questions
Identify Slope and y-intercept (from equation)
Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance
Interactive video
•
7th - 12th Grade
15 questions
Volume Prisms, Cylinders, Cones & Spheres
Quiz
•
8th Grade
26 questions
June 19th
Quiz
•
4th - 9th Grade
25 questions
Argumentative Writing & Informational Text Vocabulary Review
Quiz
•
8th Grade
18 questions
Informational Text Vocabulary
Quiz
•
7th - 8th Grade