Mind map
Abstraction and Automation
Map content
Abstraction and Automation
Algorithms
- 'Algorithm' comes from the name of a Latin book called 'Algoritmi de numero Indorum'
- This means 'Al-Khwarismi on the Hindu Art of Reckoning'
- The aim of algorithms is to be as specific as possible
- Ambiguity can lead to issues
- Must be in a defined sequence as order is important
- Use four basic structures
- Sequence
- Selection
- Iteration
- Assignment
- Must terminate
- The AQA definition is 'a sequence of steps that can be followed to complete a task and that always terminates'
- 'Algorithm' comes from the name of a Latin book called 'Algoritmi de numero Indorum'
AQA's preferred pseudo-code conventions
- Sequence
- INPUT, OUTPUT, etc.
- Assignments
- x <--- 10
- Selection
- IF, THEN, ELSE, ENDIF
- Iteration
- FOR, ENDFOR, WHILE, ENDWHILE, REPEAT, UNTIL
- Sequence
Trace tables
- Why use them?
- Makes sure an algorithm will work properly
- A dry run of a program will help troubleshoot
- Tracks the values of variables throughout the program
- Why use them?
Information
- Description
- AS level Computer Science (Abstraction and Automation) Mind Map on Abstraction and Automation, created by Charlie Turner on 20/11/2016.
- Created by
- Charlie Turner
- Views
- 67
- Tags
- Rating