Algorithms and Pseudocode Flashcards

(9 cards)

1
Q

Algorithm

A

A set of step-by-step instructions to solve a specific problem.

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

Pseudocode

A

A way of describing an algorithm using structured but informal code that resembles programming language.

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

Flowchart

A

A diagram that represents an algorithm visually using symbols like ovals, rectangles, diamonds, and arrows.

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

Selection

A

A decision-making process in an algorithm where a choice is made using IF, ELSE, or CASE.

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

Iteration

A

Repeating a set of instructions using loops such as FOR, WHILE, or REPEAT UNTIL.

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

Trace Table

A

A table used to follow the logic of an algorithm and record variable values at each
step.

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

Dry Run

A

Manually going through code or an algorithm to test it without running on a computer.

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

Verification

A

Checking if data has been accurately copied from one medium to another.

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

Validation

A

Checking if data entered meets certain criteria before processing.

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