Computer science · lesson 2 of 4
Conditionals and loops
A Boolean test used to choose whether a block runs.
University8 practice questionsNotes + worked examples
Learn the ideas
Prerequisites: Basic computer literacy.
Condition
A Boolean test used to choose whether a block runs.
Branch
One possible path selected by a conditional.
Loop
A structure that repeats a block according to a rule.
Iteration
One pass through a repeating loop body.
Worked examples
Which term best matches this description: A Boolean test used to choose whether a block runs.
Condition is the matching concept in this lesson.
Condition
Which term best matches this description: One possible path selected by a conditional.
Branch is the matching concept in this lesson.
Branch
Check your understanding
8 questionsDecimals or fractions are accepted for numeric answers. Proofs and written responses use sample answers and require human marking. This is practice, not a protected examination.
Further reading and review references
These are reference links, not copied exercises, institutional endorsement or proof of independent review.