Writing Pseudeo Codes. Flashcards
1
Q
What is Pseudo Code?
A
- Shows an Algorithms steps.
- Without showing the programming language.
- Make sure the pseudo code isn’t vague, readable, easy to interpret.
2
Q
How do you write flow-charts?
A
Beginning and End: Put in boxes with rounded corners, sometimes called terminals.
Inputs and Outputs: Goes in a parallelogram box.
Processes, Instructions and calculations: Rectangular boxes.
- Decisions (Yes or no): put in diamond boxes.
3
Q
What are the 4 ways flow charts can show?
A
1) Sequence.
2) Selections.
3) Iterations.
Combination of them.
4
Q
What is a sequence?
A
- Only one way from the start to beginning of the flow chart.
5
Q
What is selections?
A
- Multiple pathways to get to the start to the ending of the programme.
6
Q
What are iterations?
A
- Contains a loop and allows you to repeat the task.