Essay about Programm Logic

Submitted By DeJesus7
Words: 587
Pages: 3

Phase 2 DB – Sequential Logic Structure
Introduction to Programming Logic
Elie De Jesus
Colorado Technical University
April 17, 2013

Part I
A programming language is an artificial language designed to communicate instructions to a machine, particularly a computer. Programming languages can be used to create programs that control the behavior of a machine and/or to express algorithms precisely. The earliest programming languages predate the invention of the computer, and were used to direct the behavior of machines such as Jacquard looms and player pianos (Aaby, A. 2004).
Problem Analysis Chart:
This chart is like a written draft of how you’re going to answer your question. It comes with four different sections: * Define the data * Define the outcome * Define the processes that will occur * Define the alternative solutions
This chart is formulated to the items that are processed in the program with the formulas or expressions that is needed to solve the problem.
So we would need this program to calculate a new balance for the checking account that has less than the minimum balance. If the balance goes below the minimum a fee will be subtracted from the account. GIVEN DATA | REQUIRED RESULTS | balanceCheckingminimumBalance | balanceChecking | Processing Required | Solution Alternatives | balanceChecking < minimumBalancebalanceChecking = balanceChecking – fee | Minimum balance = $100Fee = $9.95 |

Structure Chart:
This is a pictorial representation that can quickly be used to show the basic layout of the program design. The gives the step process of terms needed for the design.
Control
Output
Calculation
Read
Control
Output
Calculation
Read

IPO Chart:
This chart is formulated to depict the flow of the process you are working on. You can use compartmentalization to group all the pieces together like inputs, processing, and commands and outputs. Input | Processing | Command Reference | Output | balanceChecking | Read balanceChecking | Read | | minimumBalance | Read minimumBalance | Read | | Fee | Read fee | Read | | | balanceChecking < minimumBalancebalanceChecking = balanceChecking – fee | Calculation | | | Output balanceChecking | Output | balanceChecking | | End | Control | |

Coupling Diagram:
This diagram is used to see the program process and output delivery. The coupling is where each program relies on the other modules.
CB = balanceChecking
MB = minimumBalance
F = Fee

CB MB F MB F CB CB
Data Dictionary:
The data dictionary is just like the key