
Python List Quiz_10
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Medium
Sajna Bhavi
Used 1+ times
FREE Resource
Enhance your content in a minute
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Python syntax creates an empty list?
[]
()
{}
""
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given the list fruits = ["apple", "banana", "cherry"], how do you access the first item?
fruits[1]
fruits[0]
fruits[2]
fruits[-1]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method adds an item to the end of a list?
append()
insert()
extend()
push()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you determine the number of items in a list?
len(list)
count(list)
size(list)
length(list)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will fruits[1:3] return when fruits = ["apple", "banana", "cherry", "date"]?
["banana", "cherry"]
["apple", "banana"]
["banana", "cherry", "date"]
["cherry", "date"]
6.
OPEN ENDED QUESTION
3 mins • 1 pt
How do you remove an item from a specific index in a list?
Evaluate responses using AI:
OFF
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given fruits = ["apple", "banana", "cherry"], which command adds "orange" at the second position?
fruits.append("orange")
fruits.insert(1, "orange")
fruits[1] = "orange"
fruits.extend(["orange"])
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
45 questions
21st Century Success Skills Exam
Quiz
•
8th Grade - University
50 questions
EXAM REVIEW: Computing Principles
Quiz
•
9th - 12th Grade
46 questions
PYTHON PROGRAMMING - FINAL EXAM REVIEW
Quiz
•
9th - 12th Grade
50 questions
Databases
Quiz
•
KG - 12th Grade
50 questions
DASAR PYTHON
Quiz
•
11th Grade
45 questions
PTS AIJ XI TKJ | 2022/2023
Quiz
•
11th Grade
50 questions
Web Authoring (10th)
Quiz
•
8th - 12th Grade
51 questions
Web, HTML
Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
