Year 11

Create a program

Year 11

Create a program

warning

These resources will be removed by end of Summer Term 2025.

Switch to our new teaching resources now - designed by teachers and leading subject experts, and tested in classrooms.

Lesson details

Key learning points

  1. 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
Correct answer: GOTO
TOLINE
Q2.
Used the structured approach, which of the following statements should you avoid using to force the loop to terminate?
Correct answer: Break
Exit
GOTO
TOLINE
Q3.
A while loop should only terminate when its condition becomes True or False?
False
Correct answer: True

4 Questions

Q1.
Which of the following best describes "iterative" testing?
Correct answer: Testing completed throughout the creation of the program to make sure it works as it is being developed.
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.
Correct answer: Using data that should not be accepted by the program because doing so would cause an error.
Q3.
Which of the following best describes a "boundary" test?
Correct answer: Data that uses values that are at the limits of validity.
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.
Correct answer: 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.