1.2 Algorithms Flashcards

(4 cards)

1
Q

What is an algorithm?

A

An algorithm is a logical, step-by-step process for solving a problem

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

What is Pseudo-code

A

Pseudo-code is not a programming language. Instead, it is a simple way of describing a set of programming instructions in a manner that resembles a programming language

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

2 Advantages of using a flowchart

A
  • It is easy to see how a program flows
  • It is very easy to understand
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

2 Disadvantages of using Flowcharts

A
  • With a large program, the diagrams can become huge and therefore difficult to follow
  • Any changes to the design may mean a lot of the diagram has to be redrawn
How well did you know this?
1
Not at all
2
3
4
5
Perfectly