Mapa mental
Algorithm Constructs
Contenido del mapa
Algorithm Constructs
Sequence
- A sequence is a number of instructions that are processed one after the other.
- DECLARE count SET countTO 1 OUTPUT the value of count
- A sequence is a number of instructions that are processed one after the other.
Assignment
- Assignment is used to store the value of an expression into a variable.
- DECLARE studentName SET studentName TO Bob
- Assignment is used to store the value of an expression into a variable.
Selection and Condition (IF, IF ELSE)
- A selection statement uses a condition to select, or determine, the next line of the program that is to be executed.
- CALCULATE totalCost IF (totalCost > $10) THEN OUTPUT 'no delivery charge' ELSE OUTPUT '$5 delivery charge' ENDIF OUTPUT 'thankyou'
- A selection statement uses a condition to select, or determine, the next line of the program that is to be executed.
Iteration
- Iteration is also called repetition and is used when something is repeated over and over again, so anything where the program goes round in a loop.
- DECLARE count SET count TO 0 FOR count = 1 to 10 OUTPUT count END FOR OUTPUT ‘finished’
- Iteration is also called repetition and is used when something is repeated over and over again, so anything where the program goes round in a loop.
Modularisation
- Modularisation is used to reduce the complexity of a system by deconstructing it into independent units or modules.
- FUNCTION delivery_charge CALCULATE totalCost IF (totalCost > $10) THEN OUTPUT ‘no delivery charge’ ELSE OUTPUT ‘$5 delivery charge’ ENDIF OUTPUT ‘thankyou’ END FUNCTION
- Modularisation is used to reduce the complexity of a system by deconstructing it into independent units or modules.
Información
- Descripción
- Mapa Mental sobre Algorithm Constructs, creado por Margaret Grigorov el 01/05/2026.
- Creado por
- Margaret Grigorov
- Visitas
- 0
- Valoración