Which term best matches this description: A Boolean test used to choose whether a block runs.
- Loop
- Iteration
- Condition
- Branch
Answer and explanation
Condition
Condition is the matching concept in this lesson.
Subjects
Choose questions individually, practise online, or create a worksheet with matching answers. Counts include generated variants, not only authored originals.
Condition
Condition is the matching concept in this lesson.
Branch
Branch is the matching concept in this lesson.
Loop
The scenario directly calls for Loop.
Iteration
The intended concept is Iteration.
A Boolean test used to choose whether a block runs.
The definition in the lesson notes gives the required condition.
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.
A Boolean test used to choose whether a block runs.
UniversityA Boolean test used to choose whether a block runs.
UniversityA reusable named block that can accept inputs and return a result.
UniversityA reusable named block that can accept inputs and return a result.
UniversityLearn core Python concepts with paper-based reasoning and small code-reading tasks.
Study HTML, CSS, JavaScript and accessible web structure without a paid bootcamp.
Learn tables, queries, joins and data modelling with original exercises.
Work through data cleaning, visualization, modelling and interpretation.
Study defensive security, privacy and risk management without offensive exploitation instructions.
Learn formulas, references, cleaning and charts for practical study and office work.