
FoP Unit 8 Lists Pre-Assessment
Authored by Jamey Barber
Computers
10th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax for creating a list in Python?
{}
()
[]
||
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access the third element in a list named 'my_list'?
my_list[3]
my_list[2]
my_list(2)
my_list.third()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What method is used to add an element to the end of a list?
pop()
remove()
append()
insert()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the operation [1, 2, 3] + [4, 5, 6]?
Error
10
7
123
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a list containing the squares of numbers from 1 to 10 using list comprehension?
[x^2 for x in range(1, 11)]
[x*2 for x in range(1, 11)]
[x**3 for x in range(1, 11)]
[x**2 for x in range(1, 11)]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the slicing operation my_list[2:5]?
The result of my_list[2:5] is an empty list.
The result of my_list[2:5] is a sublist containing the elements at index 0, 1, and 2.
The result of my_list[2:5] is a sublist containing the elements at index 2, 3, and 4.
The result of my_list[2:5] is a single element at index 2.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access the last element in a list?
list_name[-1]
list_name[last]
list_name[0]
list_name[end]
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
Programming basics
Quiz
•
10th - 11th Grade
10 questions
Contact Center Sevices
Quiz
•
7th - 10th Grade
17 questions
Grade 4 Computer Science Quiz
Quiz
•
4th Grade - University
12 questions
OCR Internet Technologies
Quiz
•
10th - 11th Grade
15 questions
Bài 22-Kiểu dữ liệu danh sách
Quiz
•
10th Grade
10 questions
Visual Basic 2010
Quiz
•
8th Grade - University
10 questions
S2 Subject Choice Quiz
Quiz
•
8th - 10th Grade
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
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