Starter quiz
- Which of these instructions is not a subroutine?
- In computing, repeatedly executing instructions is known as ...
- iteration ✓
- selection
- sequence
-
- ______ is the process of finding an error in your code and taking steps to fix the problem.
- 'debugging' ✓
- What is repeatedly running a sequence of instructions a set number of times known as?
- count-controlled iteration ✓
- condition-controlled iteration
-
- What value would be held by the ‘name1’ variable and the ‘name2’ variable at the end of this program?
- name1 = Laura name2 = Sam
- name1 = Sam name2 = Laura
- name1 = Laura name2 = Laura
- name1 = Sam name2 = Sam ✓
-
- When the value of a variable is updated in a program, it's previous value is ...
- overwritten ✓
- saved
-
Exit quiz
- The three main programming constructs are sequence, selection and ______.
- 'iteration' ✓
- Breaking a large problem down into smaller, more manageable parts is known as ...
- iteration
- algorithmic thinking
- decomposition ✓
-
- Which programming construct is used in this code block?
- selection ✓
- iteration
- decomposition
-
- Which programming construct is used in this code block?
- iteration ✓
- selection
- decomposition
-
Worksheet
Loading worksheet ...
Presentation
Loading presentation ...
Video
Lesson Details
Key learning points
- The programming constructs of sequence, selection and iteration can be combined to make more complex programs.
- Analysing a problem involves decomposing it into its constituent parts.
- Algorithms can be developed to solve a problem.
- A problem can be solved in multiple ways.
Common misconception
Programming constructs cannot be combined in the same code block.
The programming constructs of sequence, selection and iteration can be combined within the same code block to make more complex programs.
Keywords
Problem - a situation or task that needs to be solved
Decomposition - breaking down a task into smaller, more achievable steps
Solution - a way in which a problem or task is solved
+