Aloopis a sequence of instructions that is repeated until a certain condition is met. An example would be the process of getting an item of data and changing it, and then making sure someconditionis checked â such as if a counter has reached a prescribed number.