10n2

Learning Objective: Understand what an algorithm is and how to represent them when planning. Starter: Exam Marks.. Q4 Main: Algorithms BBC Bitesize "An algorithm is a set of instructions that describes how to get something done. Algorithms can be designed using pseudocode and flow charts. They are written using statements and expressions" Algorithms are sets of step-by-step instructions that if followed exactly will perform a specific task. Flowcharts Tea Algorithm? Pass the Parcel? Anything else? Pseudocode Common pseudocode notation There is no strict set of standard notations for pseudocode, but some of the most widely recognised are: INPUT – indicates a user will be inputting something OUTPUT – indicates that an output will appear on the screen WHILE – a loop (iteration that has a condition at the beginning) FOR – a counting loop (iteration) REPEAT – UNTIL – a loop (iteration) that has a condition at the end IF –...