Chapter 2: How Can Algorithms Be Used to Solve Problems? Flashcards

1
Q

Algorithm

A

Set of step-by-step instructions for studying a problem

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

Input (algorithms)

A

Data or information used by an algorithm that can affect what is required for correct output

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

Output (algorithms)

A

Result produced by an algorithm

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

Problem definition

A

Definition of a task by specifying the requirements for valid input and correct output

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

Solution

A

Algorithm that always gives output satisfying the specified requirements when provided with some valid input

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

Decomposition

A

Breaking down a complex problem or process into smaller and more manageable parts
- Incremental approach:
- Identify quantitative features of the input or output
that are causing the problem to be too large to
handle
- Modular approach:
- Solve simple examples of the problem manually
and identify tasks that are of different natures.

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

Sub-problem

A

A problem whose solution contributes to the solution of a bigger problem

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

Pattern-recognition

A

Identifying similarities or common elements among two or more items

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

Generalisation

A

Technique of replacing two or more similar problems or solutions with a single, more general problem or solution

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