A | B |
For loop | Repeated block of code that is repeated a specific number of times and may use increments. |
While loop | Repeated block of code that is repeated until a condition is met. |
Conditional Statement | A statement written in if-then form that determines the outcome of which code is executed based on whether a condition is true or false. |
iteration | The number of repetitions of a block of code in a loop |
counter | a variable which stores the number of times a particular event or process has occurred |
accumulator | a variable that the program uses to calculate a sum or product of a series of values |
increment | The process of increasing a numeric value by another value. |
execute | Carry out or put into effect the code |
sequence | a particular order of related events; instructions carried out one after another |
decrement | The process of decreasing a numeric value by another value. |
infinite loop | A loop where the condition is never false and it repeats forever |
nested loop | a loop within a loop, an inner loop within the body of an outer one. |