Program Logic Formulation
What is a Program? • The list of instruction that computer must follow to be able to process data into information. • When program is written, we are basically solving problem . • To solve a problem, we need to use our mind power or logic to develop the detailed information.
Five-Step Process of Programming 1. Define the problem. (Program Definition) 2. Design the solution/program. (Program Design) 3. Code the program. (Program Coding) 4. Test the program. (Program Testing) 5. Document the program. (Program Documentation)
Program Definition • Specify the program objectives and identify the users of the program. • Specify the input and output requirements. • Specify processing requirements. • Study feasibility of implementing the program. • Document the analysis.
Program Design • Designing the program logic through top-down approach and modularization, using hierarchy charts. • Design details using pseudocodes and or flowchart . • Test design in structural walk through. Structured walkthrough consists of reviewing process with other programmers and system analysts and scrutinized the programmer’s work.
Program Coding • Determine the appropriate programming language to use. • Code the program into the specific programming into the specific programming language decided on.
Program Testing • Consist of desk checking, debugging, and running real data to make sure that the program works. • Desk checking is just reading through or checking the program manually to ensure it’s free from ERRORS and LOGIC work . • Debugging maybe SYNTAX errors and LOGIC errors. • Syntax errors can be typographical error or incorrect format of the statement used. • Logic errors are caused by incorrect use of control structures.
Program Documentation • Write USER documentation. This is the manual that prepared to help the user use the program. • Write the OPERATOR documentation. This manual is for the computer operator on what to do when the program flashes an error message .
You've reached the end of your free preview.
Want to read all 34 pages?
- Fall '19