Algorithm Flashcards

1
Q

what does Unambiguous mean

A

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

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 mean

A

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

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

what does Pseudo-code mean

A

A structured 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 data

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

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.

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.

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.

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

what does if…then…else statment 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.

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
16
Q

what does nested if statement mean

A

a nested if statement consists of one or more if statements placed inside each other.

17
Q

what does indefinite iteration mean

A

this is used when the number of iterations is not known before the loop is started.

18
Q

what does definite iteration mean

A

this is used when the number of iterations or turns of the loop,is known in advance .

19
Q

what does logical operator mean

A

a Boolean operator using,and,or and not.

20
Q

what does random number mean

A

a number within a given range of numbers that is generated in such a way that each number in the range has an equal chance of occurring.

21
Q

what does nested loop mean

A

a loop that runs inside another loop.`

22
Q

What is concatenation

A

the linking together of two or more items of information

23
Q

What is logic error

A

an error in an logic of the code