Year 11

Year 11

# Battle boats code

## 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.

## Video

Share with pupils

## Starter quiz

Share with pupils

### 3 Questions

Q1.
True or False: Your design work MUST provide a full solution to the problem.
True
Q2.
True or False: For your project you need to design using pseudocode AND a flowchart.
True
Q3.
True or False: Creating a structure diagram is compulsory for this project.
True

## Exit quiz

Share with pupils

### 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 ...