1.1.2: understand how to create an algorithm to solve a particular problem, making use of programming constructs (sequence, selection, iteration) and using appropriate conventions (flowchart, pseudo-code, written description, draft program code)
Keyword | Definition |
---|---|
Algorithm | step by step instructions to solve a problem |
Boolean expression | A question that has a True / False answer |
Conventions | A way of describing an algorithm so that someone else can understand it (flowchart, pseudocode, written description or draft program code) |
Flowchart | A diagram showing how an algorithm flows between inputs, outputs, decisions and processes |
Iteration | When an algorithm repeats one or more instructions multiple times. |
Programming Constructs | the building blocks used in every programming language: sequence, selection and iteration |
Pseudocode | human readable code that describes how an algorithm works but can't be run by a computer |
Selection | When an algorithm has to make a choice based on a boolean expression |
Sequence | When an algorithm does more than one instructions in a particular order |
Written description | sentences that describe each step of how an algorithm works |