Mind map
Algorithm Constructs
Map content
Algorithm Constructs
Assignment
- Storing a value in a variable
- playerName = user Input
- Storing a value in a variable
Iteration
- For Loop
- Repeats a section of code for a given number of times
- For 10 times
- Repeats a section of code for a given number of times
- While Loop
- Repeats a section of code if a given condition is true or false
- IF damage is >=10 OUTPUT "Congratulations"
- Repeats a section of code if a given condition is true or false
- For Loop
Sequence
- Instructions processed one after another
- DECLARE then SET then OUTPUT
- Instructions processed one after another
Modularisation
- Assigning a function of code if a function is required to be played multiple times
- FUNCTION
- Minimises lines of code and repetitive code
- Assigning a function of code if a function is required to be played multiple times
Selection and Condition
- Tells the code to perform a specific function based on a condition and whether that condition is true or false.
- IF damage is <10 print "Unfortunately you have not made it to round two"
- Tells the code to perform a specific function based on a condition and whether that condition is true or false.
Information
- Description
- Mind Map on Algorithm Constructs, created by Pratham Patel on 29/04/2026.
- Created by
- Pratham Patel
- Views
- 0
- Rating