algorithms Flashcards

1
Q

what does unambiguous mean?

A

this means that the instruction cannot be misunderstood. simply saying ‘turn’ would be ambiguous because you could turn left or right.

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

what does sequence mean?

A

an ordered set of instructions.

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

what does algorithm mean?

A

a precise method for solving a problem.

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

what does high-level programming language mean?

A

a programming language that resembles natural human language .

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

what does flowchart mean?

A

a graphical representation of an algorithm. Each step in the algorithm is represented by a symbol. symbols are linked together with arrows showing the order in which steps are executed.what

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

what does pseudo-code mean

A

a structures, code- like language that can be used to describe an algorithm.

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

what does variable mean?

A

a ‘container’ used to store in a variable is referred to as a value. the value stored in a variable is not fixed . the same variable can store different values during the course of a program and each time a program is run.

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

what does identifier mean?

A

a unique name given to a variable or a constant. using descriptive names for variables make code much easier to read

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

what does arithmetic operator mean?

A

an operator that performs a calculation on two numbers.

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

what does constant mean?

A

a ‘container’ that holds a value that never changes .like variables, constants have unique identifiers.

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

what does construct mean?

A

a component from which something is built. letters and numbers (i.e. a to z and 0 to 9) are the constructs we use to built our language and convey meaning . bricks and cement are the basic constructs of a building.

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

what does selection mean?

A

a construct that allows a choice to be made between different alternatives.

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

what does Iteration mean?

A

a construct that means the repetition of a process.an action is repeated until there is a desired outcome or a condition is met. it is often referred to as a loop.

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

what does IF…THEN…ELSE statement mean?

A

the IF…THEN…ELSE statement allows a choice to be made between two alternatives based on whether or not a condition is met (e.g. IF it is cold THEN wear a jumper ELSE wear a T-shirt).

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

what does relational operator mean?

A

an operator that compares two values.

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