Mapa mental
Programming 2A
Contenido del mapa
Programming 2A
Variables & Constants
- Variables
- A location of space
- Data can change
- Constants
- A location of space
- Data does not change
- Variables
Data Types
- Integer
- '10'
- Real
- '0.1'
- Character
- 'a'
- Boolean
- TRUE/FALSE 1/0
- String
- 'abc'
- Casting a data type
- e.g. 6 + 6 = 66 '6' + '6' = 12
- Integer
Operations
- Arithmetic
- DIV, MOD, +, -, /, *
- DIV
- Whole numbers, no decimals
- MOD
- Remainders
- DIV
- DIV, MOD, +, -, /, *
- Relational
- Bigger than, less than, not equal to, equal to
- >, <, <=, >=, !=, ==
- Arithmetic
Programming Constructs
- Iteration
- WHILE/ FOR & REPEAT
- Selection
- IF Statements
- Sequence
- Steps in a code
- Iteration
Searches & Sorts
- Merge Sort
- When the list keeps getting split up and sorted then the separated lists get merged together in sequence
- Bubble Sort
- Each item in a list is compared to the one next to it, and if it is greater, they swap places
- Linear Search
- Goes through the list, one by one, and stops when the item is found
- Binary Search
- Jumps in the middle of the list, then checks if the item is upper/lower, then jumps to the middle of the next numbers
- Merge Sort
Arrays, Records & Files
- Arrays
- A data structure that allows you to hold several values, all of the same type, with one name
- Records
- A data structure consisting of a number of fields which can all be different types
- Files
- A single item of data in a record
- Arrays
Información
- Descripción
- GCSE Computing Mapa Mental sobre Programming 2A, creado por Rhys Jones el 28/02/2018.
- Creado por
- Rhys Jones · feb 2018
- Actualizado
- 3 mar 2018
- Visitas
- 0
- Valoración