Question
Which of the following best explains the role of iteration 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 a decision-making function.
It is a decision-making function.
It is a repetitive function.
It is a repetitive function.
It is the order of the commands to the computer.
Responses
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.
It is a repetitive function.
It is the order of the commands to the computer.
Answers
GPT-4o mini
The response that best explains the role of iteration in a program is:
**It is a repetitive function.**
Iteration refers to the process of repeating a set of instructions or commands in programming, typically used for looping until a certain condition is met.
**It is a repetitive function.**
Iteration refers to the process of repeating a set of instructions or commands in programming, typically used for looping until a certain condition is met.