StudyBrixFree worksheets, study guides and courses

Computer science · University

Conditionals and loops

A Boolean test used to choose whether a block runs.

Make a worksheet

Prerequisites

Basic computer literacy.

Study notes

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

  1. Which concept would you apply first in a situation where a structure that repeats a block according to a rule.

    1. Condition
    2. Loop
    3. Iteration
    4. Branch
  2. Name the concept described as: One pass through a repeating loop body.

  3. Which statement about Condition is most accurate?

    1. A Boolean test used to choose whether a block runs.
    2. One pass through a repeating loop body.
    3. A structure that repeats a block according to a rule.
    4. One possible path selected by a conditional.
  4. Explain one important difference between Condition and Branch.

Answers and marking guidance

Answers and marking notes
  1. Loop

    The scenario directly calls for Loop.

  2. Iteration

    The intended concept is Iteration.

  3. A Boolean test used to choose whether a block runs.

    The definition in the lesson notes gives the required condition.

  4. Condition: A Boolean test used to choose whether a block runs. Branch: One possible path selected by a conditional.

    Credit a clear distinction using both definitions and an appropriate example if supplied.

Further reading and review references

These are reference links, not copied exercises, institutional endorsement or proof of independent review.

AI-assisted preview; independent educational review required. Level labels describe prerequisites, not accreditation or official curriculum alignment.