Previous: 1.2 Representing Data and Program Internally
Up: 1 Introduction
Next: 1.4 Summary
Previous Page: 1.2.3 Representing Programs
Next Page: 1.3.1 Designing The Algorithm
We defined a program as an organized set of instructions stating the steps to be performed by a computer to accomplish a task. Computer programming is the process of planning, implementing, testing, and revising (if necessary) the sequences of instructions in order to develop successful programs. In writing computer programs we must specify with precise, unambiguous instructions exactly what we want done and the order in which it should be done. Before we can write the actual program, we must either know or develop a step-by-step procedure, or algorithm, that will accomplish the task. We can then implement the algorithm by coding it into a source language program.