Module 3 the Process of Program Execution
Module 3 the Process of Program Execution
Computer
Programming
Quarter II – Module 3:
THE PROCESS OF PROGRAM EXECUTION
After identifying the things required to solve a problem, then the next step
is to design a solution. A design is a description of steps of a program. It
doesn't have to be written in any special programming language - English will do.
And also, a programmer should be able to take a design and write the
program from it without having to think too hard. It's looks like an architect's
drawing: it contains all the important structures without showing every bit of
brick and mortar.
III. Draw a Flowchart
This time, the programmer has to type the program code to the computer.
These are list instructions to be run in a program.
On this stage, the programmer has to sit and type the command lines of a
program. Coding is the act of translating the design into an actual program,
written in some form of programming language. It is like writing an essay. And,
like essays, there are things needed to include in the program such as titles,
introductions, references etc.).
2. Compiling
In this phase, a compiler translates the program into a binary
machine code, checks the programming language syntax, and displays
syntax-error messages.
3. Debugging