112k views
1 vote
Which statement demonstrates the value of an iteration in programming?

An iteration can be used instead of many repetitive lines of code in a computer program.

An iteration makes a program end without having to press keys on the keyboard.

An iteration formats the code in a program into a neat indented form.

An iteration controls the order in which a program executes code.

2 Answers

7 votes

Answer:

line breaks that help a programmer follow the flow of the program.

Step-by-step explanation:

User Kenneth Lynne
by
5.8k points
5 votes

Answer: An iteration can be used instead of many repetitive lines of code in a computer program

Explanation: An iteration in computer programming parlance refers to a process whereby a computer is programmed to execute a specific task repeatedly or in a repetitive manner according to a given set of instructions. When a particular instruction is executed more than once without having to explicitly state the instructions for the computer again before it's execution, this process is called iteration. Whereby a repetitive action is performed without having to repeatedly write out the instruction set or program code again. Iterative actions may be performed in programming using the FOR or WHILE loop statement.

User Mr Boss
by
6.3k points