Battle boats test

This lesson focuses on creating and using a test plan to test your Battle Boats program.

This quiz includes images that don't have any alt text - please contact your teacher who should be able to help you with an audio description.

Quiz:

Intro quiz - Recap from previous lesson

Before we start this lesson, let’s see what you can remember from this topic. Here’s a quick quiz!

Question 1

Question 2

Question 3

Q1.If you want to increase the value held in the score variable by 1, which line of code should you use?

1/3

Q2.Complete the sentence. A while loop is an example of ...

2/3

Q3.If you want a block of code to repeat forever, what statement should you use?

3/3

This quiz includes images that don't have any alt text - please contact your teacher who should be able to help you with an audio description.

Quiz:

Intro quiz - Recap from previous lesson

Before we start this lesson, let’s see what you can remember from this topic. Here’s a quick quiz!

Question 1

Question 2

Question 3

Q1.If you want to increase the value held in the score variable by 1, which line of code should you use?

1/3

Q2.Complete the sentence. A while loop is an example of ...

2/3

Q3.If you want a block of code to repeat forever, what statement should you use?

3/3

Video

Click on the play button to start the video. If your teacher asks you to pause the video and look at the worksheet you should:

  • Click "Close Video"
  • Click "Next" to view the activity

Your video will re-appear on the next page, and will stay paused in the right place.

Worksheet

These slides will take you through some tasks for the lesson. If you need to re-play the video, click the ‘Resume Video’ icon. If you are asked to add answers to the slides, first download or print out the worksheet. Once you have finished all the tasks, click ‘Next’ below.

This quiz includes images that don't have any alt text - please contact your teacher who should be able to help you with an audio description.

Quiz:

Battle Boats Test

Don’t worry if you get a question wrong! Forgetting is an important step in learning. We will recap next lesson.

Question 1

Question 2

Question 3

Q1.In the context of test data. What is this a description of: "This type of data should not be accepted by the program or it will cause an error. For example, an integer is entered when a string is required. "

1/3

Q2.In the context of test data. What is this a description of: "This type of data should be accepted by the program and is valid. It is the typical data that you would expect to be entered into your program. "

2/3

Q3.In the context of test data. What is this a description of: "This type of data should be accepted by the program and is valid. It is used to check that values entered at the edge of a range will be accepted. In some circumstances you may also wish to test values just outside the range."

3/3

This quiz includes images that don't have any alt text - please contact your teacher who should be able to help you with an audio description.

Quiz:

Battle Boats Test

Don’t worry if you get a question wrong! Forgetting is an important step in learning. We will recap next lesson.

Question 1

Question 2

Question 3

Q1.In the context of test data. What is this a description of: "This type of data should not be accepted by the program or it will cause an error. For example, an integer is entered when a string is required. "

1/3

Q2.In the context of test data. What is this a description of: "This type of data should be accepted by the program and is valid. It is the typical data that you would expect to be entered into your program. "

2/3

Q3.In the context of test data. What is this a description of: "This type of data should be accepted by the program and is valid. It is used to check that values entered at the edge of a range will be accepted. In some circumstances you may also wish to test values just outside the range."

3/3

Lesson summary: Battle boats test

It looks like you have not completed one of the quizzes.

To share your results with your teacher please complete one of the quizzes.

Time to move!

Did you know that exercise helps your concentration and ability to learn?

For 5 mins...

Move around:
Climb stairs

On the spot:
Dance

Take part in The Big Ask.

The Children's Commissioner for England wants to know what matters to young people.

Share your views and have your voice heard.