3.4.1.2 Following and writing algorithms. Flashcards
1
Q
Define an algorithm.
A
A sequence of steps that can be followed to complete a task and that always terminates.
2
Q
Outline the assignment operations in Pseudocode.
A
←
:=
3
Q
Outline the Comparison operations in Pseudocode.
A
= ≠ < > ≤ ≥
4
Q
Outline the Arithmetic operations in Pseudocode.
A
\+ − × / mod
5
Q
Outline the logical operations in Pseudocode.
A
and
or
6
Q
Outline the sums, products operations in Pseudocode.
A
Σ
Π
7
Q
Outline the floor/ceiling operations in Pseudocode.
A
⌊, ⌋
⌈, ⌉