Year 11
Lesson details
Key learning points
- In this lesson, we will focus on creating and using a test plan to test our Battle Boats program.
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.
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
Q2.
Complete the sentence. A while loop is an example of ...
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:
3 Questions
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. "
Boundary data
Normal data
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. "
Boundary data
Erroneous data
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."
Erroneous data
Normal data