Introduction to Algorithm Flow Chart

Selection and Conditional Control Structure

  • Definition of a Conditional Step:

    • A conditional is a specialized type of step in an algorithm where a decision must be made.
    • It serves as a decision point within algorithmic logic, branching the execution path based on the evaluation of specific parameters.
  • Flow Control and Decision Outcomes:

    • The selection or conditional control structure defines 2 courses of action.
    • The specific course of action chosen depends entirely on the outcome of a condition.

Concept of a Condition

  • Definition:
    • A condition is an underlying logical test or boolean expression evaluated at a conditional step in an algorithm or flowchart to direct subsequent execution paths.