Mindmap
Control Structures

Inhalt der Mindmap
Control Structures
Sequential structures
- It describes all the steps in a sequential order to be executed by a program.
- It describes all the steps in a sequential order to be executed by a program.
Conditional structures
- A condition in programing is a situation that can be evaluated as true or false.
- Examples
- IF-THEN: IF condition THEN sequence_of_statements END IF;
- IF-THEN-ELSE: IF condition THEN sequence_of_statements1 ELSE sequence_of_statements2 END IF;
- IF-THEN-ELSEIF: IF condition1 THEN sequence_of_statements1 ELSIF condition2 THEN sequence_of_statements2 ELSIF condition3 THEN sequence_of_statements3 ELSE sequence_of_statements4 END IF;
- Examples
- A condition in programing is a situation that can be evaluated as true or false.
Cyclic sttructures
- They repeat certain actions until a condition is met.
- Examples
- FOR structure. This structure allows to repeat the actions until a variable meets a condition for it to go out of the loop.
- WHILE structure. This structure will execute the sentences in between the structure while the condition value is true.
- DO WHILE structure. This structure is a variant of the WHILE loop. In this case, the sequence of sentences will be executed at least once until the condition is evaluated.
- Examples
- They repeat certain actions until a condition is met.
Bilder und Dateien der Mindmap
Informationen
- Beschreibung
- Mindmap am Control Structures, erstellt von al02777353 am 05/11/2015.
- Erstellt von
- al02777353
- Aufrufe
- 0
- Bewertung