
List quiz1
Authored by kidzian pvtltd
Computers
9th - 12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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()
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
11 questions
CompTIA A+February27
Quiz
•
11th Grade
15 questions
حاسب 2
Quiz
•
10th Grade
10 questions
การพัฒนาแอพพลิเคชัน
Quiz
•
9th Grade
10 questions
Year 8 - Unit 2: Small Basic Programming Terminology
Quiz
•
9th Grade
14 questions
Presenting Information
Quiz
•
11th Grade
12 questions
website design elements
Quiz
•
12th Grade
13 questions
Robust Programming
Quiz
•
11th - 12th Grade
13 questions
EMPtech 2
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
14 questions
[AP CSP] JavaScript Programming Quiz
Quiz
•
9th - 12th Grade
10 questions
Understanding Computers and Computer Engineering
Interactive video
•
7th - 12th Grade
37 questions
Python - Tuples, Lists, and List Methods
Quiz
•
9th - 12th Grade
60 questions
MOS Word Home, Insert, Reference Ribbon Basics
Quiz
•
9th Grade