Year 9 End of Unit Test Python List and Operations
Quiz
•
Computers
•
8th Grade
•
Hard

Richmond Amandu
FREE Resource
Enhance your content
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to create a list of three fruits: apple, banana, and cherry?
fruits = "apple", "banana", "cherry"
fruits = ["apple", "banana", "cherry"]
fruits = {"apple", "banana", "cherry"}
fruits = (apple, banana, cherry)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code? ```
2
4
6
8
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to add an item to the end of a list?
add()
append()
insert()
extend()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code?
["red", "blue", "green"]
["red", "blue", "green", "yellow"]
["yellow", "red", "blue", "green"]
["red", "yellow", "blue", "green"]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
["cat", "dog", "rabbit"]
["cat", "rabbit"]
["dog", "rabbit"]
["cat", "dog"]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following will insert "orange" at index 1 in the list fruits?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code?
1 2 3 4
1 3
2 4
1 2
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
25 questions
Asesemen Sumatif
Quiz
•
8th Grade
27 questions
PowerPoint
Quiz
•
6th - 12th Grade
25 questions
SAINS KOMPUTER TINGKATAN 4 - 1.6 STRUKTUR DATA DAN MODULAR
Quiz
•
7th - 12th Grade
30 questions
Windows 10 Keyboard Shortcuts
Quiz
•
8th Grade
30 questions
Operating Systems
Quiz
•
8th - 9th Grade
25 questions
Computer Parts
Quiz
•
7th - 8th Grade
25 questions
KS3 Understranding Computers
Quiz
•
8th Grade
25 questions
Computer Systems and Computer Ethics
Quiz
•
8th - 12th 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