General Characteristics of Programming

Computer Programs: The Power of Logic

A single program addresses a particular problem-to compute and assign grades, to permit an update of database, to monitor a patient’s heart rate, to analyze marketing data, and so on. In effect, when you write a program, you are solving a problem. To solve a problem you must use your powers of logic and develop an algorithm, or procedure, for solving the problem.

Creating a program is like constructing a building. Much of the brainwork involved in the construction goes into the blueprint. The location, appearance, and function of a building are determined long before the first brick is laid. With programming, the design of a program, or its programming logic (the blueprint), is completed before the program is written (the building is constructed) This section and the next discuss approaches to designing the logic for a programming task. >


Back to indexNext page

e-mail