GoConqr has a new look! Let us know what you think.

Mind map

Programming

Martin Corbishley English

Map content

Programming

  1. Algorithms

    • Solving problems 1 step at a time
    • Processors can only process 1 instruction at a time
    • Mainly expressed as a flow chart
      • Make sure you know the symbols
  2. Pseudocode

    • Used for planning algorithms
    • Should allow a programmer to write it in any language
    • Key words written in capital letters (eg INPUT, IF, WHILE)
  3. High level / low level programming

    • Low level is understood by the processor
      • Machine code
        • binary codes for each instruction and register location
      • Assembly language
        • Codes specific to a type of processor
        • Written as each instruction would be processed
        • eg INP, LDA, OUT
    • High level has to be translated
      • uses language that is easier to understand by humans
      • Has to be translated
      • eg Python, BASIC, Javascript
  4. Translation

    • Assembler
      • Turns assembly language into machine code
      • Only can be used in low level programming
    • Compiler
      • Creates an executable file to run the program
      • Once it is compiled it doesn't need the original source code
      • Would be used for proprietary software
    • Interpreter
      • Executes the source code directly
      • Used when creating a program
      • Would be used on open source software
  5. Control flow

    • Sequencing
      • The order through an algorithm
    • Selection
      • IF THEN ELSE
    • Iteration
      • Loops
        • WHILE or FOR
  6. Data types

    • Variable or constant
      • Variable changes during the program eg score in a game
      • Constant stays the same eg Pi
    • Integers and real numbers
      • Integer is a whole number
      • Real (sometimes called float) can have decimal places
    • Arrays are lists of the same data types
    • Operations are mathematical symbols eg < > + -
  7. Testing

    • Syntax error
      • Not a correct command for the coding language being used
    • Run-time error
      • An error in the program eg stuck in a loop
    • Logical error
      • Human error with the construction of the algorithm

Information

Description
Mind Map on Programming, created by Martin Corbishley on 22/02/2016.
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?