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 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?
An image in a quiz
Buy:, item
Buy:, item, item, item, item, item
Correct answer: Buy:, Pasta, Tomatoes, Onions, Basil, Parmesan
Pasta, Tomatoes, Onions, Basil, Parmesan
Q2.
Read this program carefully. What will be displayed as output when this program is executed?
An image in a quiz
1, 2, 3, 4
1, 4, 3, 6
3
Correct answer: 4
Q3.
Read this program carefully. What will be displayed as output when this program is executed?
An image in a quiz
0
1, 4, 3, 6
Correct answer: 2
count

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