SE 2205a (Unit 3-part 1) Flashcards
1
Q
What is the definition of an Algorithm?
A
It is an ordered sequence of well defined finite instructions that given an initial state, performs some task and halts in a finite time
2
Q
Why are algorithms created?
A
They offer a clear start and end points for the system/task
3
Q
When are algorithms written?
A
They are written in the design phase of the software
4
Q
List all the ways that algorithms can be illustrated
A
-Pseudo-code
-Flow Charts (for methods), UML Diagrams
-Natural Language
5
Q
define pseudo code?
A
Kind of structured English that describes all the necessary steps in the task