Fundamentals Of Algorithms Flashcards

1
Q

What is an algorithm?

A

An algorithm is a sequence of steps that can be followed to complete a task.

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

What is program code?

A

Program code implements an algorithm

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

Algorithms can be represented by:

A

-pseudo code
-flowcharts

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

What is abstraction?

A

Abstraction is removing unnecessary detail from a problem.

-algorithms are abstract

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

What is decomposition?

A

Decomposition is breaking a problem into sub-problems that each represent a specific task.

-algorithms often utilise decomposition

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