Mapa mental
topic 2.3 revision
Contenido del mapa
topic 2.3 revision
sequence, selection and iteration
- sequence- when lines of code are executed one after the other in a logical manner.
- selection- when a decision has to be made during a section of code. The most common example is an "if statement"
- iteration- when a section of code of repeated. E.g DO and FOR loops
Data types
- integer-whole numbers e.g 12, 0, -25
- float/real-numbers with decimal place e.g 0.42, 1.00, -456.786
- string-word or phrase e.g "Hello"
- character- letters, numbers or punctuation e.g 'a', '78', '?'
- boolean- 'true' or 'false'
Arrays
- An array is a data structure. it is used to hold lots of different items belonging to the same data type.
defensive design considerations
- input validation- this is an automatic computer check to ensure that the data entered is sensible and reasonable.
- input sanitation- this modifies the input to ensure that it is valid
- input validation- this is an automatic computer check to ensure that the data entered is sensible and reasonable.
Información
- Descripción
- Mapa Mental sobre topic 2.3 revision, creado por Charlie Rutherford el 14/03/2019.
- Creado por
- Charlie Rutherford
- Visitas
- 1
- Valoración