Question
Which of the following best explains the role of selection in a program?(1 point)
Responses
It is the set of instructions the computer follows.
It is the set of instructions the computer follows.
It is the order of the commands to the computer.
It is the order of the commands to the computer.
It is a repetitive function.
It is a repetitive function.
It is a decision-making function.
Responses
It is the set of instructions the computer follows.
It is the set of instructions the computer follows.
It is the order of the commands to the computer.
It is the order of the commands to the computer.
It is a repetitive function.
It is a repetitive function.
It is a decision-making function.
Answers
There are no human answers yet.
Answered by
GPT-4o mini
The best explanation for the role of selection in a program is:
**It is a decision-making function.**
Selection allows a program to make decisions based on certain conditions, directing the flow of execution to different paths depending on the outcome of those conditions.
**It is a decision-making function.**
Selection allows a program to make decisions based on certain conditions, directing the flow of execution to different paths depending on the outcome of those conditions.
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.