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 finish our planetary quiz project. It will allow us to further develop 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 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
3 Questions
Q1.
In the program below, which line of code is the variable decimal being initialised?
1
3
4
5
6
7
8
Q2.
In the program below, which lines of code contain arithmetic expressions? (check 2)
1
2
3
4
5
8
Q3.
In the program below, which line of code contains a condition used with a selection statement?
1
2
3
4
6
7
8