Overview
Aim
Create a simple computer programme.
Create a simple computer programme.
For the full unit details, please download the latest version of the qualification specification. This is available for download on the relevant qualifications page.
To view the assessment criteria and any additional content, please expand the relevant learning outcome below.
What is computer programming? E.g. giving computers instructions known as code.
What is a programming language E.g. set of instructions used to produce various output eg BASIC, Python, JAVA.
Different types of programming language e.g. Python, Basic, Scratch, Javascript.
What is a computer programme? E.g. set of instructions that perform tasks when executed.
Outline the key elements of a computer programme.
Identify different programming languages that can be used to create a simple computer programme.
Writing an algorithm – set of steps to be followed to solve a problem.
Introduction to flowcharts as an algorithm – steps as boxes – eg start/stop, process, input/output, direction of flow.
Introduction to pseudocode – sequence of actions – eg selection, loops, input and output.
Develop a simple algorithm using pseudocode for a computer programme to meet a given brief.
Structure of program code – eg sequence, selection and iteration.
Basic arithmetic – eg plus, minus, multiplication and division.
Data types – eg integers, raw strings, Boolean type.
Introduction to variables and constants.
Data input and output.
Comments in code – annotation of the source code – making easier to read.
Create a simple computer programme to meet a given brief using programming language.
Illustrate the code using a range of comments.