A set of coded instructions that enables a machine, especially a computer, to perform a desired sequence of operations.