Algorithms Flashcards
What are algorithms for
They are used to decide what to do, for example computers deciding what aeroplanes should land at an airport. Algorithms are run in the background
The definition of an algorithm is
A step by step procedure for solving problems
Is something which can be followed by computers and humans
What is the simplest wag of expressing an algorithm
A list algorithm
What is a sequence
A basic instruction
What is a selection
A choice or decision
What is iteration
Repeating something a set number of times or until a condition is met
What makes a successful algorithm
It has to be correct and efficient
Correctness
How successfully it solves the problem
Efficiency
How quickly it solves the problem