Year 9
These resources will be removed by end of Summer Term 2025.
Switch to our new teaching resources now - designed by teachers and leading subject experts, and tested in classrooms.
These resources were created for remote use during the pandemic and are not designed for classroom teaching.
Lesson details
Key learning points
- In this lesson, we will identify the operations that are commonly performed on lists: adding, removing, or modifying items; locating or counting occurrences of particular items, etc.
Licence
This content is made available by Oak National Academy Limited and its partners and licensed under Oak’s terms & conditions (Collection 1), except where otherwise stated.
3 Questions
Q1.
What is the name of this data structure?

Comma separated values
String
Variable
Q2.
If the lines below were added to the program in question 1 (above), what would the program output be?

Friday
item
Wednesday
Q3.
If the lines below were added to the program in question 1 (above), what would the program output be?

index, item
index, Wednesday
Wednesday
3 Questions
Q1.
If the user types 1 on the keyboard, what will be the output of this program when it is executed?

The second letter is l
The second letter is, planet
There will be an error message
Q2.
If the user types 3 on the keyboard, what will be the output of this program when it is executed?
It's a rocky planet
The second letter is l
There will be an error message
Q3.
Suppose that the elif in line 8 is modified to an if. If the user types 1 on the keyboard, what will be the output of this program when it is executed?
It's a rocky planet
The second letter is e
There will be an error message