
Python Lists
Authored by Irene Feng
Computers
10th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which line of code is correct for creating a list of numbers?
num = ('10','29','37','109')
num = [10,29,37,109]
num = (10,29,37,109)
num = ['10 29 37 109']
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the index of the element with value 'Spain'?
['England','Brazil','Spain','France']
0
1
2
3
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which functions can I use to add an item(s) to a list?
variable.add()
variable.append()
variable.insert()
variable.extend()
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
How do i remove something from a list?
variable.pop()
del variable[index]
variable.remove()
variable.del()
5.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which of the following is valid python code for the list p?
p = [99, 9, 2, 33, 11]
p[5]
p[1:3]
p[2:]
p[2:0]
p[1:5]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is lis after this code is run?
Error
None
[2,3,4,23]
[2,3,4,2,3]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code?
[1, 2, 3]
[1, 2, 3, 4]
[4, 1, 2, 3]
Error
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
15 questions
TIK KLS 7-8 PAS Genap 2022-2023
Quiz
•
9th - 12th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
10 questions
BÀI KIỂM TRA GIỮA KÌ 2 - LỚP 3
Quiz
•
1st - 10th Grade
10 questions
Scratch
Quiz
•
KG - Professional Dev...
10 questions
Network Security
Quiz
•
9th - 11th Grade
10 questions
What is a program slides(6:16)
Quiz
•
8th - 12th Grade
10 questions
Java Fundamentals
Quiz
•
12th Grade
13 questions
Y10 Spring Programming Audit
Quiz
•
8th - 10th 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