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.
Lesson details
Key learning points
- In this lesson, we will complete a mini-project in Python where we will create a planetary quiz. It will allow us to increase our independence in Python programming.
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.
Loading...
3 Questions
Q1.
Read this program carefully. What will be displayed as output when this program is executed?
Buy:, item
Buy:, item, item, item, item, item
Pasta, Tomatoes, Onions, Basil, Parmesan
Q2.
Read this program carefully. What will be displayed as output when this program is executed?
1, 2, 3, 4
1, 4, 3, 6
3
Q3.
Read this program carefully. What will be displayed as output when this program is executed?
0
1, 4, 3, 6
count
3 Questions
Q1.
Read the program below carefully. What will be displayed as output when this program is executed?
1
2
2, 4, 8, 16
Q2.
Read the program below carefully. What will be displayed as output when this program is executed?
1
30
6
Q3.
Read the program below carefully. If the user enters the string "HELLO", what will be displayed as output of line 4 when this program is executed?
character
H
HELLO