3.1.1 - Representing algorithms Flashcards

(11 cards)

1
Q

Algorithm

A

A step-by-step set of instructions to solve a problem or complete task

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

Decomposition

A

Breaking down a problem into smaller, more manageable parts

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

Abstraction

A

Removing unnecessary detail to focus on the important information.

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

Flowchart

A

A diagram that represents an algorithm using symbols to show the flow of control

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

Pseudocode

A

A way of representing an algorithm using structured, human-readable instructions without following strict programming syntax

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

Purpose of a trace table

A

To record the values of variables as an algorithm runs, used to check logic and identify errors

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

Decision - flowchart

A

Diamond

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

Process - flowchart

A

Rectangle

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

Input/output - flowchart

A

Parallelogram

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

Start/stop - flowchart

A

Oval

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

What do the arrow shows in a flowchart

A

The direction of flow of the instructions

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