Bifalgorithm post · Computer science one · Loops

Why are loops useful for automation?

Why are loops useful for automation? (Computer science one · Loops) — "Computers are really good at automation. A key aspect of automation is the ability to re…

Ideas in this flowchart

  • Computers are highly effective at automation.
  • Automation enables a process to be repeated over different pieces of data.
  • Repetition continues until a specified condition is met.
  • Loops are used to perform automated repetition.
  • A number collection can be processed to calculate its sum.
  • Each number is added to a total until every number has been examined.
  • An email can be sent to each student in a course.
  • The process iterates over student records and generates and sends an email for each student.
  • Computers are well suited for repetitive tasks.
Feed/

Why are loops useful for automation?

No cover

Channel

Computer science one

1 page

"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."

Flowchart preview
👍
0
0 comments0 shares

Sign in to view and post comments.