Writing Pseudeo Codes. Flashcards

You may prefer our related Brainscape-certified 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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the 4 ways flow charts can show?

A

1) Sequence.
2) Selections.
3) Iterations.
Combination of them.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a sequence?

A
  • Only one way from the start to beginning of the flow chart.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is selections?

A
  • Multiple pathways to get to the start to the ending of the programme.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are iterations?

A
  • Contains a loop and allows you to repeat the task.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly