Please enable JavaScript.
Coggle requires JavaScript to display documents.
Topic 1: Computational Thinking - Coggle Diagram
Topic 1: Computational Thinking
Algotrithms
Does not necessarily have to be for computers, in fact we use algorithms everywhere in everyday life
Defined as a sequence of steps that can be used to solve a problem or complete a task
The instructions in an algorithm are unambiguous and can not be misunderstood. Therefore, the algorithm should also be able to be done time and time again to get the same result.
Representing Algorithms
Psuedocode
Way to write algorithms using statements that are similar to code but is still readable and translateable into any programming language.
Not an actual programing language so will not run when used and will instead make a syntax error appear.
Mainly used to plan algorithms and logic steps rather than specific language syntax.
Flow Diagrams
Used to visually represent the steps that make up an algorithm.
Used mainly for logic planning for algorithms and not specific syntax and programming language key words.
Standard Shapes
Oval - Used to signal the start and end of a program.
Rectangle - Represents when a process is being completed
Parralelogram - Represents when there is an input or output of the program.
Diamond - Represets a decision in the program. Can be used for selection or iteration. Diamonds must be written as a question. Diamonds are also the only shape that can have 2 arrows coming out of it.
Arrow - Signals what the program follows.
Specific Algorithms