Unit 7 End of Topic Assessment Flashcards
What are the three basic Programming constructs?
Sequence, Selection and Iteration.
What is the Sequence construct?
Set of instructions that follow on one from another.
What is the selection construct?
Decision within a computer program when the program decides to move on based on the results of an event.
What is the Iteration construct?
Repetition of a block of statements within a computer program.
What does executing a section of code mean?
Carrying it out.
What are the two types of Iteration?
Count Controlled Iteration
Condition Controlled Iteration
What is a Program?
Sequences of instructions for a computer.
How does Selection work?
It tests a condition, the test gives a true/false result (boolean). It can choose which path to take from there.
What are the benefits of Iteration?
Simplify Program
Execute again without having to write again.
What is a variable?
A memory location within a computer program where values are stored.
What is a variable’s name known as?
A Identifier.