Computer Science

Description

Revision notes for 2.1 Algorithms on paper 2 of the OCR computer science 1-9 scale course.
connor mccreadie
Mind Map by connor mccreadie, updated more than 1 year ago More Less
Alex Rollin
Created by Alex Rollin almost 7 years ago
Hello I got banned from maccies ;(
Copied by Hello I got banned from maccies ;( almost 6 years ago
connor mccreadie
Copied by connor mccreadie almost 6 years ago
3
0

Resource summary

Computer Science
  1. 2.1 Algorithms
    1. Computational Thinking
      1. There are four elements of computational thinking, they are:
        1. Decomposition
          1. Simple tasks have simple solutions. You can break large problems that are complex into several smaller simpler tasks, this is known as decomposition
            1. For example you have been tasked with creating a game and you have broke it down into smaller tasks
              1. What type of game is it going to be?
                1. What is the style of the game?
                  1. Who is the audience of the game?
                    1. Does it have challenge and what are the rewards?
                      1. How does the game end?
                        1. What is the name of the game?
                        2. This is what decomposition is about, defining the problem in more detail and making it easier to solve
                      2. Pattern Recognition
                        1. Abstraction
                          1. Removing unnessisary information is called abstraction.
                            1. Only leaves the data that is required
                              1. For example a designer needs to make a T Junction sign
                                1. The sign must follow certain rules:
                                  1. Must take no more that 1 second for a driver to look at it and understand its meaning
                                2. The first attempt is shown to the right and as you can see it is very cluttered and will take more than a second for a driver to recognise the sign
                                  1. It also doesn't follow the rules for the shape and colour
                                  2. The second attempt is shown to the right and as you can see it is less cluttered than version 1, however it still breaks the rules as it says that there must not be any words
                                    1. It also doesn't follow the rules for the colour
                                    2. The third and final attempt follows all the rules, the shape, the colour and doesn't contain any words
                                      1. Also any unessisary clutter has been removed
                                    3. Algorithmic Thinking
                                      1. There are 2 popular methods to set out an algorithm:
                                        1. Pseudocode - Text statements written for each step of the algorithm
                                          1. Flow chart - This uses a set of standart shapes and arrows (Shown to the right-->) tO make a diagram of the algorithm
                                          2. Algorithms often include a decisaion to be made at some point in the task. In order to handle this, a conditional statement is used.
                                    Show full summary Hide full summary

                                    Similar

                                    Computing Hardware - CPU and Memory
                                    ollietablet123
                                    Unit 1 flashcards
                                    C R
                                    Cell Structure
                                    megan.radcliffe16
                                    Exchange surfaces and breathing
                                    megan.radcliffe16
                                    AS Chemistry - Enthalpy Changes
                                    Sarah H-V
                                    Biology B1.1 - Genes
                                    raffia.khalid99
                                    GCSE Biology B2 (OCR)
                                    Usman Rauf
                                    OCR GCSE History-Paper Two: The Liberal Reforms 1906-14 Poverty to Welfare State NEW FOR 2015!!!
                                    I Turner
                                    OCR Physics P4 Revision
                                    Dan Allibone
                                    C1 Quiz
                                    Leah Firmstone
                                    Biology B1.3
                                    raffia.khalid99