Lesson details

Key learning points

  1. In this lesson, we will be introduced to the paradigm: structured programming is programming. This lesson will also demonstrate how we can apply the paradigm to our own programs.

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

4 Questions

Q1.
What will be the output when this program is executed?
That is false, That is false
That is false, That is true
That is true, That is false
Correct answer: That is true, That is true
Q2.
Will the following program output True or False?
False
Correct answer: True
Q3.
Will the following program output True or False?
Correct answer: False
True
Q4.
Will the following program output True or False?
False
Correct answer: True

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?
Correct answer: False
True

Lesson appears in

UnitComputing / Programming 4: Subroutines

Computing