Lesson details

Key learning points

  1. In this lesson, we will code our Battle Boats game. Demonstrations and solutions are provided to give us support if needed, and it is likely to take more than an hour to complete the coding.

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.
True or False: Your design work MUST provide a full solution to the problem.
Correct answer: False
True
Q2.
True or False: For your project you need to design using pseudocode AND a flowchart.
Correct answer: False
True
Q3.
True or False: Creating a structure diagram is compulsory for this project.
Correct answer: False
True

3 Questions

Q1.
If you want to increase the value held in the score variable by 1, which line of code should you use?
score + 1
score = 1
score = 1 + 1
Correct answer: score = score + 1
Q2.
Complete the sentence. A while loop is an example of ...
Correct answer: Iteration
Selection
Sequence
Subroutines
Q3.
If you want a block of code to repeat forever, what statement should you use?
repeat forever:
repeat Forever:
while true:
Correct answer: while True: