Courseiva
Applications and Software →mediumMultiple Choice

FC0-U71 Applications and Software Practice Question

A programmer writes code to run a block of instructions repeatedly until a condition is met. Which programming concept is being used?

⚠ Common exam trap

FC0-U71 often tests the distinction between loops (repetition) and conditionals (single decision), so candidates may confuse 'until a condition is met' with an if-statement.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Loop

A loop is a programming construct that repeats a block of instructions until a specified condition is met. The scenario describes exactly that: code that runs repeatedly until a condition becomes true. Loops are fundamental for iteration, such as processing items in a list or repeating a task until a user quits.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Conditional

    Why it's wrong here

    A conditional selects between alternative paths based on a test; it executes once, not repeatedly. It is tempting because loops also test a condition, but iteration until that condition is met is the loop's defining mechanism, which a conditional alone cannot provide.

  • ✓

    Loop

    Why this is correct

    A loop repeats a block of instructions, testing a condition each iteration to decide whether to continue or exit. This directly satisfies the stem's requirement to run instructions repeatedly until a condition is met, unlike selection or sequential constructs.

  • ✗

    Function

    Why it's wrong here

    A function packages reusable instructions invoked on demand; it does not itself repeat execution until a condition holds. It is tempting because functions often contain loops, but the repetition mechanism belongs to the loop construct, not the function.

  • ✗

    Variable

    Why it's wrong here

    A variable stores a value for later reference; it performs no control flow and cannot repeat instructions. It is tempting because loops use variables as counters or conditions, but the iteration itself comes from the loop construct, not the variable.

About these practice questions

Courseiva writes every FC0-U71 question from scratch — 988 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official CompTIA exam blueprint

This FC0-U71 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the FC0-U71 exam.