Control Operations

  • Robert E. Beasley


Control operations fall into two general categories—decision operations (a.k.a., selection operations, condition operations) and iterative operations (a.k.a., repeating operations, looping operations). Decision operations alter the path of a program’s execution based on the truth or falseness of a relational, equality, and/or logical operation when multiple paths through a program are required. Iterative operations, on the other hand, execute a block of code repeatedly while or until a certain condition (i.e., a relational, equality, and/or logical condition) is true. Decision operations and iterative operations are so fundamental to computer programming that every procedural/imperative programming language requires such operations—regardless of their syntax.

Copyright information

© Robert E. Beasley 2020

Authors and Affiliations

  • Robert E. Beasley
    • 1
  1. 1.FranklinUSA

Personalised recommendations