
Program Development - Python: Lists
Computers
8th - 10th Grade
Used 67+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
22 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What letter will be printed on the screen after running this code:
e
x
t
Nothing prints
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the position of the name "Robert" in the following list:
0
1
2
3
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the following code, "city" is an example of a what?
List
Loop
Variable
Array
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Each item in a list has an "address" or index. The first index in a Python list is what?
0
1
a
A
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What output will this code produce?
['France', 'Wales', 'England']
France
France
['France', 'Wales', 'England']
Wales
Wales
France, Wales, England
Wales
Wales
France Wales England
France
France
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What output will this code produce?
['France', 'Wales', 'England']
Ireland
Ireland
['France', 'Ireland', 'England']
['France', 'Ireland', 'Wales', 'England']
['Ireland', 'Wales', 'England']
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a list called "players", if you wanted to add a player called "Bob" to the list, which of the following examples of code would be correct?
players.add("Bob")
player.append("Bob")
players.append("Bob")
players.addend("Bob")
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?