Algorithms 2 Flashcards

1
Q

what is a construct

A

A component from which something is built

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

what is a selection

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

what does iteration mean

A

A construct

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

what is an IF, THEN, ELSE statement

A

it allows a choice to be made on whether or not a condition is met

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

what is a relational operator

A

an operator that compares two values

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

what is a Nested IF statement

A

a nested IF statement consists of one or more IF statements placed inside each other. A nested IF is used where there are more than two possible courses of this action

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

what is an indefinite iteration

A

this is used when the number of iterations is not known before the loop is started. is stooped when a specified condition is met

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

what is a definite iteration

A

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

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

what is a logical operator

A

a Boolean operator using AND, OR and NOT

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

what is a random number

A

a number within a given range of numbers that is generated in such a way that each number in the range have equal chances of occurring

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

what is a nested loop

A

a loop that runs inside another loop

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

what is concatenation

A

the linking together of two or more items of information

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