Concept

Why are loops useful for automation?

ComputerScienceOne / Loops

"Computers are really good at automation. A key aspect of automation is the ability to repeat a process over and over on different pieces of data until some condition is met. For example, if we have a collection of numbers and we want to find their sum we would iterate over each number, adding it to a total, until we have examined every number. Another example may include sending an email message to each student in a course. To automate the process, we could iterate over each student record and for each student we would generate and send the email. Automated repetition is where loops come in handy. Computers are perfectly suited for performing such repetitive tasks."

Related Ideas

Why are loops useful for automation? | ComputerScienceOne | Bifalgorithm | Bifalgorithm