2.1 Algorithms

Description

Mind Map on 2.1 Algorithms, created by Casey Morris on 17/12/2018.
Casey Morris
Mind Map by Casey Morris, updated more than 1 year ago
Casey Morris
Created by Casey Morris over 5 years ago
27
0

Resource summary

2.1 Algorithms
  1. Computational thinking
    1. the use of computers to solve problems
    2. Algorithmic Thinking
      1. identifying the steps involved in solving a problem
      2. Linear Search
        1. each item in the list is checked in order
          1. The worst case scenario is you have to check out all the values
            1. The algorithm is simpler to use
            2. Binary search
              1. an ordered list is divided into 2 with each comparison
                1. The worst case scenario that it only checks half of the value
                2. The algorithm is longer and more complex to use
                3. Decomposition
                  1. Breaking down a large problem into smaller sub-problems
                    1. they can be tested independently
                      1. There is not always one right answer.
                    2. Abstraction
                      1. Representing 'real world' problems in a computer using variables and symbols
                        1. also removes unnecessary elements from the problem
                      2. Bubble sort
                        1. moving through a list repeatedly, swapping elements that are in the wrong order
                        2. Merging Lists
                          1. Split all elements into individual lists
                            1. Compare the first element in both lists
                              1. Put the smallest into a new list
                                1. Compare the next element of 1 list with the second element of the 2nd list
                                  1. Put the smallest into a new list
                                    1. Repeat until merged
                          2. Insertion sort
                            1. each items is taken in turn, compared to the items already in a list and placed in a correct position
                            2. Ordered list
                              1. Elements are arranged in sequence
                              2. Flowchart
                                1. They can be used to represent an algorithm
                                  1. Shows the data that is input and output
                                    1. Shows the processes that take place
                                      1. Shows the decisions and repetition that takes place
                                    2. Pseudocode
                                      1. Means 'fake code'
                                        1. It's a partway between English language and programming code
                                      2. Dry run
                                        1. running through an algorithm with sample data, running each step manually
                                        2. Trace table
                                          1. a table that follows the values of variables to check for accuracy
                                          Show full summary Hide full summary

                                          Similar

                                          Computer Science
                                          Alex Rollin
                                          Computer Science big mindmap
                                          Alexander Downer
                                          Computer Science
                                          connor mccreadie
                                          Computer Science
                                          Oliver Bonnar
                                          Computer Science
                                          Louise Bridle
                                          Computer Science
                                          yo uo
                                          Computer Science
                                          apisit ketmuang
                                          2.1 Algorithms
                                          Michael Jackson
                                          Computer Science
                                          NiallHDC .
                                          Computer Science
                                          NiallHDC .