Mapa mental
2.1

Contenido del mapa
2.1
Computational Thinking
- Allows us to take a complex problem, understand what the problem is, and then develop possible solutions
- The use of a computer to solve problems
- 4 Key Areas:
- Decomposition
- Breaking down a complex problem or system into smaller, more manageable parts
- Abstraction
- Gets rid of the irrelevant stuff in the program
- Allows to only focus on the important information
- Pattern Recognition
- Looking for similarities among and within problems
- Algorithms
- Developing a step-by-step solution to solve the problem
- Algorithms must be detailed & easy to understand so it can be passed onto someone else and have them code it
- Decomposition
Binary
- List must be in order
- Middle Value is taken
- Search is stopped if it is the value is the one you're looking for
- If middle value is larger than the desired one: Take the values to the left of the middle value
- Then repeat with the new list
- If middle value is smaller than the desired one: Take the values to the right of the middle value
LInear
- List does not have to be in order
- First value of list is checked
- Search is stopped if it is the value is the one you're looking for
- If not desired value: Check next value on the list
- Process is repeated until desired value is attained
Bubble Sort
- A method for sorting out unordered lists
- Take the first and second elements from the list and compare them
- If element 1 > element 2: Swap
- Else: Leave it
- Move along to the next pair of elements (element 2 & 3) and repeat
- Repeat until you have moved through the whole list and not made any changes
- Move along to the next pair of elements (element 2 & 3) and repeat
- Else: Leave it
- If element 1 > element 2: Swap
- Worst case scenario: n*n (n = number of elements) Average number of swaps: n^2
Merge Sort
- A list is split into individual lists, these are then combined (2 lists at a time)
- Split all elements into individual lists
- Compare the first element into first two lists
- Put the smallest at the start of a new list
- Compare the next element of the 1st list with the next element of the 2nd list
- Put the smallest at the start of a new list
- Compare the first element into first two lists
Insertion Sort
- Comparing unsorted elements in an individual list and sorting then out in order
- In a list, the starting element is a 'sorted' list
- The rest of the elements are an 'unsorted' list
- Compare the first element in the 'unsorted' list with all the elements in the 'sorted' list
- If the current unsorted element is smaller than the interacted sorted element, put it in front of that element (move the other sorted elements along)
- If the unsorted element is larger, compare it with the next
- Compare the first element in the 'unsorted' list with all the elements in the 'sorted' list
- The rest of the elements are an 'unsorted' list
- In a list, the starting element is a 'sorted' list
- Comparing unsorted elements in an individual list and sorting then out in order
Imágenes y archivos del mapa
Información
- Descripción
- Mapa Mental sobre 2.1, creado por शॉन Bainton el 11/01/2019.
- Creado por
- शॉन Bainton
- Visitas
- 0
- Historial
-
- Creado por 2402 2003 · 17 dic 2018
- Copiado por joseph fellows · 8 ene 2019
- Copiado por शॉन Bainton · 11 ene 2019
- Valoración
