What Is a Programs?
A program is a step-by-step instruction that has been designed to solve a given problem. Here is another definition:
“An organized list of instructions that, when executed, causes the computer to behave in a predetermined manner. Without programs, computers are useless.”
But the best definition I was given was by my Professor Dr. Lee in the data structure class at Cal Poly:
Program = Data + Algorithm
A program is like a recipe. It contains a list of variables that repre-sent the data to be processed, and a list of directions, the algorithm(s) that perform special operations on the data.