warning

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

  1. 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?
An image in a quiz
1
2
2, 4, 8, 16
Correct answer: 3
Q2.
Read the program below carefully. What will be displayed as output when this program is executed?
An image in a quiz
1
30
Correct answer: 31
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?
An image in a quiz
character
H
Correct answer: H, E, L, L, O (each letter on its own line)
HELLO

3 Questions

Q1.
In the program below, which line of code is the variable decimal being initialised?
An image in a quiz
1
Correct answer: 2
3
4
5
6
7
8
Q2.
In the program below, which lines of code contain arithmetic expressions? (check 2)
An image in a quiz
1
2
3
4
5
Correct answer: 6
Correct answer: 7
8
Q3.
In the program below, which line of code contains a condition used with a selection statement?
An image in a quiz
1
2
3
4
Correct answer: 5
6
7
8