logo

AQA A-Level Computer Science practice

Explain the three combining principles used in imperative programs: sequence, iteration and selection. Then explain the difference between definite iteration and indefinite iteration, including the difference between a condition at the start and a condition at the end of an iterative structure.

Try the question first, then check the answer and practise the same topic again.

At a glance

Question

Type

practice

Style

Topic

Programming

Exam-style question

Try this first

Explain the three combining principles used in imperative programs: sequence, iteration and selection. Then explain the difference between definite iteration and indefinite iteration, including the difference between a condition at the start and a condition at the end of an iterative structure.

Answer and explanation

Concise answer

Sequence means that statements are executed in the order in which they appear.

Why this is correct

A strong answer identifies all three principles and explains their roles rather than merely naming them. It also distinguishes the number-controlled nature of definite iteration from the condition-controlled nature of indefinite iteration, and explains the important theoretical difference between testing before and after the loop body.

Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions