3.4.1.2 Following and writing algorithms. Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Define an algorithm.

A

A sequence of steps that can be followed to complete a task and that always terminates.

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

Outline the assignment operations in Pseudocode.

A

:=

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

Outline the Comparison operations in Pseudocode.

A
=
≠
<
>
≤
≥
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Outline the Arithmetic operations in Pseudocode.

A
\+ 
− 
×
/ 
mod
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Outline the logical operations in Pseudocode.

A

and

or

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

Outline the sums, products operations in Pseudocode.

A

Σ

Π

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

Outline the floor/ceiling operations in Pseudocode.

A

⌊, ⌋

⌈, ⌉

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