Unit 7 End of Topic Assessment Flashcards

1
Q

What are the three basic Programming constructs?

A

Sequence, Selection and Iteration.

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

What is the Sequence construct?

A

Set of instructions that follow on one from another.

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

What is the selection construct?

A

Decision within a computer program when the program decides to move on based on the results of an event.

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

What is the Iteration construct?

A

Repetition of a block of statements within a computer program.

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

What does executing a section of code mean?

A

Carrying it out.

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

What are the two types of Iteration?

A

Count Controlled Iteration

Condition Controlled Iteration

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

What is a Program?

A

Sequences of instructions for a computer.

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

How does Selection work?

A

It tests a condition, the test gives a true/false result (boolean). It can choose which path to take from there.

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

What are the benefits of Iteration?

A

Simplify Program

Execute again without having to write again.

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

What is a variable?

A

A memory location within a computer program where values are stored.

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

What is a variable’s name known as?

A

A Identifier.

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