FC0-U71 Applications and Software Practice Question
A programmer is writing code that needs to repeat a block of instructions 10 times. Which programming construct is best suited for this task?
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 (such as a for loop or while loop) is designed to execute a block of code repeatedly, either a specified number of times or until a condition is met.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Function
Why it's wrong here
A function is a reusable block, but it does not inherently repeat instructions.
- ✗
Variable
Why it's wrong here
A variable stores data, not logic.
- ✓
Loop
Why this is correct
Correct. Loops are designed for repetition.
- ✗
Conditional (if/else)
Why it's wrong here
Conditionals execute code based on a condition, but not repeatedly.
Go deeper
Related to this question
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 →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.