In mathematics and computer science, the set of instructions or restrictions established to describe the execution of a finite sequence of operations.
Examples
- An algorithm describing the sequence of actions to execute to solve the Euclidean division of two whole numbers is a program.
- The sequence of geometric constructions to carry out to determine the centre of a circumscribed circle of a triangle is a program.
- The set of inequalities or functions that characterize a situation to be optimized is a program. In this case, we’re talking about linear programming if the inequalities or functions are linear relationships.