Mind map
Part 1 - Mindmap
Map content
Part 1 - Mindmap
Algorithm 1
- 4x4 grid map
- Assignment
- 3 health points
- Assignment
- Selects center square at random and sets as starting point
- Assignment
- Selection
- 4x4 grid map
Algorithm 2
- Bakery location
- Assignment
- If player talks to baker, player gets 1 bread
- Conditions
- Maximum 5 health
- Assignment
- Bakery location
Algorithm 3
- Dragon location
- Assignment
- Defeating dragon
- Attacking it 3 times with a sword
- Iterations
- Conditions
- Needs a sword
- Sequence
- Answering 3 riddles
- Iterations
- Correct answer
- Wrong answer
- Sequence
- Iterations
- Attacking it 3 times with a sword
- Dragon location
Words
- Assignment
- Sets and/or re-sets the value stored in the storage locations designated by a variable name
- STORE user input into "name" variable
- Sets and/or re-sets the value stored in the storage locations designated by a variable name
- Sequence
- In a sequence structure, an action, or event, leads to the next ordered action in a predetermined order.
- OUTPUT "how old are you?" INPUT user inputs their age
- STORE use input into "age" variable new_age = age * 3
- OUTPUT "i am" + new_age
- STORE use input into "age" variable new_age = age * 3
- OUTPUT "how old are you?" INPUT user inputs their age
- In a sequence structure, an action, or event, leads to the next ordered action in a predetermined order.
- Selection
- In a selection structure, a question is asked, and depending on the answer, the program takes one off two courses of action, after which the program moves onto the next event.
- IF input = hi THEN OUTPUT hello ELSE walk away
- In a selection structure, a question is asked, and depending on the answer, the program takes one off two courses of action, after which the program moves onto the next event.
- Conditions
- Conditional statements check whether a specified Boolean condition is true or false. Makes the program act in one way if the condition is met, and another if it isn't
- WHILE waving OUTPUT hi
- Conditional statements check whether a specified Boolean condition is true or false. Makes the program act in one way if the condition is met, and another if it isn't
- Iterations
- Is a process wherein a set of instructions or structure are repeated in a sequence a specified number of times or until a condition is met
- REPEAT saying "hello" UNTIL they reply with "hello"
- Is a process wherein a set of instructions or structure are repeated in a sequence a specified number of times or until a condition is met
- Modularisation
- A software design technique that separates the functionality of a program into independent interchangeable modules, such that each contains everything necessary to execute only one desired functionality
- LET "h" OUTPUT say "hello" twice
- INPUT h OUTPUT hello hello
- LET "h" OUTPUT say "hello" twice
- A software design technique that separates the functionality of a program into independent interchangeable modules, such that each contains everything necessary to execute only one desired functionality
- Boolean
- A binary variable that can have one of two possible values, 0 (false), 1 (true)
- Assignment
Information
- Description
- Mind Map on Part 1 - Mindmap, created by Michelle Luong on 02/03/2020.
- Created by
- Michelle Luong · Mar 2020
- Updated
- Mar 9, 2020
- Views
- 0
- Rating