
List quiz1
Quiz
•
Computers
•
9th - 12th Grade
•
Easy
kidzian pvtltd
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to create a list in Python?
list = "apple", "banana", "cherry"
list = {"apple", "banana", "cherry"}
list = ["apple", "banana", "cherry"]
list = (apple, banana, cherry)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the index of the first element in a list?
0
1
2
none
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access the last item of a list named fruits?
fruits[-1]
fruits[len(fruits)]
fruits[0]
fruits[last]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of len([10, 20, 30])?
2
3
4
Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to add an item to the end of a list?
insert()
add()
append()
push()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will list1 = [1, 2] * 3 result in?
[1, 2, 1, 2, 1, 2]
[1, 2, 3]
[3, 6]
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following removes the first matching value in a list?
pop()
remove()
del()
discard()
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
13 questions
IT Policies
Quiz
•
9th - 11th Grade
10 questions
G12 ICDL Using Social Media Application
Quiz
•
11th Grade
15 questions
Berfikir Komputasional
Quiz
•
10th Grade
10 questions
Keyboarding Terms
Quiz
•
9th - 12th Grade
10 questions
Tree
Quiz
•
12th Grade
10 questions
KS4 Programming Techniques (1)
Quiz
•
8th - 10th Grade
10 questions
Word basics
Quiz
•
8th - 12th Grade
10 questions
BTEC DIT C1 LAB - Project Requirements
Quiz
•
10th - 11th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
18 questions
Artificial Intelligence and Machine Learning Quiz
Quiz
•
9th Grade
35 questions
Computer Terminology Exercise #1 ( Multiple Choice)
Quiz
•
9th Grade
20 questions
Computer Components Exercise #4 - CTEA
Quiz
•
9th - 12th Grade
30 questions
Computer Terminology Exercise #1 ( Fill Ins)
Quiz
•
9th Grade