Please enable JavaScript.
Coggle requires JavaScript to display documents.
2.1 Algorithms - Coggle Diagram
2.1 Algorithms
-
2.1.2 Designing, creating and refining algorithms
Flow Charts
A flow chart is a diagram that shows the breakdown of a task into small steps-each step is represented by a symbol.
-
Pseudo Code
Pseudo Code is not a programming language and is not a natural language either, it is somewhere in between
-
2.1.3 Searching
Linear
A linear search looks at every item in the index until it finds the one you are looking for. Depending on the size of the list this can be the fastest way of searching.
Binary
If you want to do a binary search you need to order the data. Binary search is an efficient algorithm for finding an item from a sorted list of items. It works by repeatedly dividing in half the portion of the list that could contain the item, until you've narrowed down the possible locations to just one. We used binary search in the guessing game in the introductory tutorial.