APCSA | Algorithms and Iterations

An algorithm is simply a set of instructions, similar to a recipe, that is used to run a task or solve something. A form of displaying an algorithm is through a flowchart, where the user moves from the top of the chart to the bottom, answering questions/conditions along the way. Algorithms progress by checking comparisons and conditions, often with results like “yes” or “no.” Algorithms are often compact, and can be repeated as an iteration, which is simply a repetition of these algorithms, with some small adjustments, such as variables or inputs. In addition, algorithms are usually very general.


Leave a Reply