CompTIA ITF+ (FC0-U61) — Question 113
A program will request user input and perform an operation several times if the input is correct. Which of the following techniques BEST describes the fact that the operation is only performed if the input is correct?
Answer options
- A. Looping
- B. Branching
- C. Reuse
- D. Modeling
Correct answer: A
Explanation
The correct answer is A, Looping, because it involves repeating an operation as long as a certain condition is met, such as valid user input. Branching (B) refers to decision-making processes, while Reuse (C) involves using existing code or components, and Modeling (D) pertains to representing systems or processes, none of which specifically relate to the repeated execution based on input correctness.