
Python List Quiz_10

Quiz
•
Computers
•
11th Grade
•
Medium
Sajna Bhavi
Used 1+ times
FREE Resource
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"])
Create a free account and access millions of resources
Similar Resources on Wayground
46 questions
PYTHON PROGRAMMING - FINAL EXAM REVIEW

Quiz
•
9th - 12th Grade
50 questions
Ulangan harian

Quiz
•
11th Grade
45 questions
Meeting Documents

Quiz
•
11th Grade
50 questions
Summer Quiz for Senior Class - Quiz Three

Quiz
•
9th - 12th Grade
50 questions
Databases

Quiz
•
KG - 12th Grade
50 questions
DASAR PYTHON

Quiz
•
11th Grade
55 questions
Python I

Quiz
•
11th Grade
50 questions
EXAM REVIEW: Computing Principles

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade