Question: what is the difference between a computer program and an algorithm?
Answer: A computer program is a specific sequence of instructions in a specific programming language. A program may contain the implementation of many algorithms. ... An algorithm is a self-contained step-by-step set of operations to be performed to solve a specific problem or a class of problems.