exam questions

Exam FC0-U61 All Questions

View all questions & answers for the FC0-U61 exam

Exam FC0-U61 topic 1 question 188 discussion

Actual exam question from CompTIA's FC0-U61
Question #: 188
Topic #: 1
[All FC0-U61 Questions]

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?

  • A. Looping
  • B. Branching
  • C. Reuse
  • D. Modeling
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
lexxone
2 months ago
Selected Answer: B
B. Branching Branching refers to decision-making in programming, where the flow of execution depends on conditions being met. If the user input is correct, the program executes the operation; otherwise, it may take a different path (e.g., ask for input again or exit). Looping (A) would describe repeating an operation multiple times, but it does not inherently ensure that the operation only runs when the input is correct. Instead, branching ensures that conditions are checked before execution.
upvoted 1 times
...
[Removed]
7 months, 3 weeks ago
Selected Answer: B
"BEST describes the fact that the operation is only performed IF the input is correct" The wording of this question indicates a conditional, such that a series of instructions will be executed once the condition is met. Jumping from one part of the code to another is branching
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago