What are the three basic programming constructs?
Sequence, selection and iteration
Sequence, selection and looping
Sequence, iteration and looping
Which of the following statements implement a count-controlled iteration?
for next
repeat until
while endwhile
What is a sequence?
A programming construct that determines the order in which data is stored
A programming construct that determines the order in which instructions are carried out
A programming construct that determines the order in which files are accessed
Which form of condition-controlled iteration tests the condition at the end of the loop?
Which form of condition-controlled iteration tests the condition at the start of the loop?
Which of the following is another name for iteration?
Selecting
Repeating
Looping
Which of the following allows a programmer to implement selection?
if then else
if while else
What is the term given to the process of including one programming construct within another?
Iteration
Nesting
What is an infinite loop?
A condition-controlled iteration that loops forever
A count-controlled iteration that loops forever
Iteration where the code is never executed
What are the two possible results of testing a condition?
YES and NO
TRUE and FALSE
POSITIVE and NEGATIVE