Computing at Avondale
National Curriculum
Decompose programs into smaller parts
Use logical reasoning to detect and correct errors in algorithms and programs
As tasks become more complex, it is necessary to break them up into smaller chunks so they are easier to interpret. This is known as decomposition.
When coding, the ability to decompose larger tasks into smaller chunks is essential as it makes debugging far easier, allowing coders to 'home in' on the part of the code that causes the problem.
When setting pupils a task, ensure they can first decompose it into smaller chunks, such as a scoring system or code to move a sprite etc.
WORKING TOWARDS - In given projects, pupils can identify the unique purpose of specific sections of decomposed code.
MET - In their own and others' projects, pupils can decompose larger tasks into smaller sections.
FURTHER PROGRESSION - Pupils make regular and efficient use of decomposition as a tool for developing and debugging programs.
(TT Exemplar Video) Debugging should ideally be performed throughout the coding process, as an iterative task. As pupils become more confident in predicting the behaviour of their code, they should be able to identify potential bugs prior to testing.
Provide pupils with a selection of buggy programs. For each one, the pupils predict the behaviour of the program, identifying potential bugs as they go. They test the program to see if their predictions were accurate, before finally fixing the bug.
WORKING TOWARDS - Pupils can identify why a given algorithm may be buggy.
MET - Pupils can predict the behaviour of code, accurately identifying potential bugs.
FURTHER PROGRESSION - Pupils are seen to debug as they code their programs, constantly querying the behaviour of their code.
Recognise the specific functions of different software and how they can be combined to perform a given task.
For example, they may design their own sprite or button in a drawing program and then import it into their coding software. Alternatively, they may use audio editing software to create their own sound effects which are then used in their own computer programs.
Pupils should understand the limits of different pieces of software. They should also be confident in moving between applications, either by exporting and importing files, or through the use of Copy and Paste.
BELOW - Pupils can import an image, adding it to their own programs.
MET - Pupils can import images and sound, adding them to their own programs.
FURTHER PROGRESSION - Pupils confidently move between programs, creating, exporting, then importing files into their own programs.
Creating a story linked to Scratch linked to online safety. Alfie J
Catch the doughnuts by Dakota