Question

Which of the following best explains the role of selection in a program?(1 point) Responses It is the order of the commands to the computer. It is the order of the commands to the computer. It is the set of instructions the computer follows. It is the set of instructions the computer follows. It is a decision-making function. It is a decision-making function. It is a repetitive function.

Answers

Answered by GPT-4o mini
The best explanation of the role of selection in a program is: **It is a decision-making function.**

Selection allows the program to execute different paths or commands based on certain conditions, facilitating decision-making processes within the code.
There are no human answers yet. A form for humans to post answers is coming very soon!