## Answers

An algorithm is a finite set of instructions that perform a certain task. The command can change the state of a system from the original state to a predictable end state. Algorithms can usually be implemented with a computer program, and is therefore often associated with computer science, although algorithms can also be used to describe solutions to problems without computers involved.

Important concepts in algorithms include:

Algorithms should not be confused with computer programs. An algorithm describes the solution to a problem, while a computer program is the implementation of the solution in any programming language.

Important concepts in algorithms include:

**Sequence (the sequence of instructions)****repetition****Selection (conditional execution of instructions)**Algorithms should not be confused with computer programs. An algorithm describes the solution to a problem, while a computer program is the implementation of the solution in any programming language.