# It106-1204a-04

Topics: Mathematics, Problem solving, Output Pages: 8 (1148 words) Published: April 24, 2013
IT106-1204A-04
INTRODUCTION TO PROGRAMMING LOGIC
PHASE 4 DISCUSSION BOARD PROJECT
SOMEONE ELSE
4 NOVEMBER 2012

Problem Solving Techniques3
Data Dictionary3
Sequential Logic Structures4
Problem Analysis Chart4
Structure Chart4
Input Processing Output (IPO) Chart5
Coupling Diagram5
Problem Solving with Decisions6
Flow Charts7
Control Module:7
Input Module:8
Calc module:9
Output module:10
Problem Solving With Loops11
Case Logic Structures12
Appendix13
References:13

Problem Solving Techniques

The Banking e-Teller (BET) system allows bank customers to perform ATM transactions from their cell or smart phones. BeT will allow customers to check balances, make remote photo capture check deposits, and perform balance transfers to their checking or savings account.

Data Dictionary

The Data Dictionary is simply a list of all the variables that are available for use in the programming process of the BET program. Depicted in this list are the DATA ITEM, the VARIABLE NAME, and the DATA TYPE. The Data Item is a simple description of the type of data that will make up the list. The Variable Name and the Data Type are essentially descriptors of the data item.

DATA ITEM| VARIABLE NAME| DATA TYPE|
First name of account owner| fName| String|
Last name of account owner| lName| String|
Account number of checking account| chkActNum| Numeric-integer| current balance of checking account| balChk| Numeric-real| Account number of savings account| savActNum| Numeric-integer| current balance of savings account| balSav| Numeric-real| amount of deposit| depAmt| Numeric-real|

amount of transfer| xferAmt| Numeric-real|
date| date| String|
transaction number| transNum| Numeric-integer|

Sequential Logic Structures

Problem Analysis Chart

By organizing the given data, required results, required processing and solution alternatives in a simple tabular format, the Problem Analysis Chart facilitates organized problem resolution, and breaks the BET program down into its simplest constituents. By listing the alternative solutions, the Problem Analysis Chart can assist in the creation of the simplest solution, not just any solution.

GIVEN DATA| REQUIRED RESULTS|
balSavbalChkdepAmtxferAmttransNum| balSavbalChk|
PROCESSING REQUIRED| SOLUTION ALTERNATIVES|
Deposit Savings: balSav=balSav+depAmtDeposit Checking: balChk=balChk+depAmtTransfer SAV to CHK: balSav=balSav-xferAmt balChk=balChk+xferAmtTransfer CHK to SAV: balSav=balSav+depAmt balChk=balChk-depAmt| For Transfers SAV to CHK:If balSav<xferAmt then ERROR ORIf xferAmt>balSav then ERRORFor Transfers CHK to SAV:If balChk<xferAmt then ERROR ORIf xferAmt>balChk then Error|

Structure Chart

This structure chart represents the BET system as a diagram of the high level design. This chart is depicted with shapes that represent the different modules of the program, and lines that interconnect these modules. The relationship between these modules is graphically displayed, which in turn makes visualization of the logic used slightly less complicated, but lists few details.

CONTROL
INPUT
OUTPUT
CALCULATIONS

CONTROL
INPUT
OUTPUT
CALCULATIONS

Input Processing Output (IPO) Chart

In reference to the BET system, this organizational aid shows in additional detail what data items are input, what processing takes place on that input data, and what information will be output as a result. It also shows where in the solution what kind of processing takes place.

INPUT| PROCESSING| MODULE REFERENCE| OUTPUT|
balSav
balChk
depAmt
xferAmt
transNum
| Input balSavInput balChk
input depAmtInput xferAmtInput transNumOutput balSavOutput...