Computernal Thinking Flashcards
Decomposition
Breaking down a problem into small more manageable ones
Abstraction
Sorting the information in to relevant information and irrelevant information and getting rid of the irrelevant information
Flowcharts -decision
Ask a question with either a yes/no true/false answer⬇️
🔶
⬇️
Flowcharts-direction of flow
Arrows are used to show the direction of flow within the algorithm
Flowcharts-start / end
Begin and finish your algorithm with this symbol
Flowcharts-tasks
Do something
Flowcharts - inputs / outputs
Used when you either want to input information into your algorithm or output information into your algorithm
Flowcharts-variables
Variables are used to store information and can be called back up later in the algorithm
Output a string of words
OUTPUT
Output both string and integers
OUTPUT
Output both string and variable
Score
Assign string to a variable
Player_name
Assign integer to a variable
Player score
Assign user input to a variable
Player_name
Assign string to an array
Names
Assign integers to an array
Scores
=
Equal to
>
Greater than
Less than
≠
Not equal to
> =
Greater than or equal to
<=
Less than or equal to
AND
All operators comparison must be true for a TRUE outcome
OR
Either operators comparison needs to be true for an TRUE outcome