Year 11
Create a program
Lesson details
Key learning points
- In this lesson, we will follow the structured programming approach to create our own 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.
Before the structured approach to programming. What type of statements were used to go to specific lines of code in the program?
Break
Exit
TOLINE
Q2.
Used the structured approach, which of the following statements should you avoid using to force the loop to terminate?
Exit
GOTO
TOLINE
Q3.
A while loop should only terminate when its condition becomes True or False?
False
4 Questions
Q1.
Which of the following best describes "iterative" testing?
Testing that takes place once the program has been developed and tests the program using a range of inputs.
Q2.
Which of the following best describes an "erroneous" test?
Data that uses values that are at the limits of validity.
Using data that should be accepted by the program and is valid.
Q3.
Which of the following best describes a "boundary" test?
Using data that should be accepted by the program and is valid.
Using data that should not be accepted by the program because doing so would cause an error.
Q4.
Which of the following best describes a "normal" test?
Data that uses values that are at the limits of validity.
Using data that should not be accepted by the program because doing so would cause an error.