2.1 - Algorithms

Beschreibung

Mindmap am 2.1 - Algorithms, erstellt von Sam Haynes am 02/01/2019.
Sam Haynes
Mindmap von Sam Haynes, aktualisiert more than 1 year ago
Sam Haynes
Erstellt von Sam Haynes vor mehr als 5 Jahre
22
0

Zusammenfassung der Ressource

2.1 - Algorithms
  1. Types of sorts
    1. Insertion
      1. You have one ordered list and a selection of other elements.
        1. Take one element at a time and compare it to the ordered list, and place in correct position.
          1. REPEAT
          2. Bubble
            1. Moving through a list repeatedly, swapping elements that are in the wrong order. Can take a long time to do.
              1. Take first 2 elements and compare.
                1. Put in order and compare the second with the third.
                  1. REPEAT until all of the list is checked with no changes.
                  2. Merge
                    1. Option A
                      1. Option B
                    2. Flowchart Symbols
                      1. Keywords
                        1. Flowchart
                          1. A diagram showing inputs, outputs and processes in algorithms.
                          2. Pseudocode
                            1. Simplified programming code that isn't programming language specific that is used to design algorithms.
                            2. Algorithms
                              1. A series of steps to solve a problem or perform an action.
                              2. Dry Run
                                1. Walking through an algorithm which samples data, running each step manually.
                                2. Trace Table
                                  1. A table that follows the values of variables to check for accuracy.
                                  2. Abstraction
                                    1. Getting rid of irrelevant detail and only focusing on the important elements.
                                    2. Pattern recognition
                                      1. Where you see where you can copy and paste similar code to save time and debugging.
                                    3. Completing and Correcting algorithms
                                      1. Correcting
                                        1. Ensure you know what the algorithm should do.
                                          1. Separate into smaller chunks and draft the steps that should occur.
                                            1. Read through the algorithm and compare to your notes and correct the algorithm where they differ.
                                            2. Completing
                                              1. May be asked to fill in elements or just continue the algorithm.
                                                1. Follow the same steps as correcting, but complete at the end, rather than correct.
                                              2. Linear & Binary Search
                                                1. Does it need to be ordered?
                                                  1. BINARY: Yes
                                                    1. LINEAR: No
                                                    2. Long search?
                                                      1. BINARY: At worst, half of values are checked.
                                                        1. LINEAR: All values may have to be checked.
                                                        2. Complex?
                                                          1. BINARY: Longer and more complex to write.
                                                            1. LINEAR: Simpler to write.
                                                          Zusammenfassung anzeigen Zusammenfassung ausblenden

                                                          ähnlicher Inhalt

                                                          2. Weltkrieg: 1939-1945
                                                          JohannesK
                                                          ein kleines Informatik Quiz
                                                          AntonS
                                                          Deutsche Redewendungen und Umgangssprache / Quiz 03
                                                          deutschlernerblog.de
                                                          Ausgewählte Dramentheorien im Überblick
                                                          Carolyn Li
                                                          Tiefergreifendes Lernen - Wie umsetzen?
                                                          Laura Overhoff
                                                          Raumfahrt 1
                                                          Jen H
                                                          Kommunikationssoziologie (KSOZ) Grimm 2017/18
                                                          Benedikt Zöchling
                                                          GESKO A PR WS 2018/19
                                                          Caroline Hannah
                                                          AVO 2017
                                                          Schmolli Schmoll
                                                          Milchkunde 2019 - Vetie
                                                          Peter Christian Ponn
                                                          Factores de tensión y estrategias de potenciación
                                                          NURY PAOLA DUEÑAS SIERRA