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

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

Why are algorithms created?

A

They offer a clear start and end points for the system/task

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

When are algorithms written?

A

They are written in the design phase of the software

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

List all the ways that algorithms can be illustrated

A

-Pseudo-code
-Flow Charts (for methods), UML Diagrams
-Natural Language

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

define pseudo code?

A

Kind of structured English that describes all the necessary steps in the task

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