Introduction to Programming Logic

Individual Project
April 11, 2011

You are part of a team that will design a first generation mobile banking application. The Banking e-Teller (BeT) system allows bank customers to perform ATM transactions from their cell phones. BeT will allow customers to check balances, make remote capture deposits, and perform balance transfers to their checking or savings account. If approved by the technical management team, your design will be handed off to the development team for implementation.
Part A:
The design proposal will include a data dictionary. A data dictionary will help the team keep track of the variables used by the system. The first step is to determine the list of data items your system might need, assign an appropriate variable name to each, and identify the data type.
Using the rules of variable naming and the rules of data types complete the following table for at least 10 data items that your system will need:

Data Item Variable Name Data Type










Part B:
BeT will allow customers to check balances, make remote capture deposits, and perform balance transfers to their checking or savings account.
1. Write an equation to calculate the current balance of the checking account after a remote captured deposit was made.
2. Write a logical expression to verify whether an account has enough funds to transfer a given amount of money to another account.

•Write an equation to calculate the current balance of the checking account after a remote photo captured check deposit was made using the variable names in the above data dictionary.

Part A:

To determine the list of data items your system might need, you can start by thinking about the information the system needs to store and process. Here are some examples:

1. Account Number: variable name - accountNumber, data type - integer
2. Customer Name: variable name - customerName, data type - string
3. Current Balance: variable name - currentBalance, data type - float
4. Remote Captured Deposit Amount: variable name - depositAmount, data type - float
5. Transfer Amount: variable name - transferAmount, data type - float
6. Checking Account Balance: variable name - checkingBalance, data type - float
7. Savings Account Balance: variable name - savingsBalance, data type - float
8. Transaction Date: variable name - transactionDate, data type - date
9. Transaction Type: variable name - transactionType, data type - string
10. Account Status: variable name - accountStatus, data type - boolean

Feel free to add additional data items as needed for your specific system.

Part B:

1. Equation to calculate the current balance of the checking account after a remote captured deposit was made:

To calculate the current balance of the checking account after a remote captured deposit, you can use the following equation:

newCheckingBalance = currentBalance + depositAmount

Where:
- newCheckingBalance is the calculated balance after the deposit
- currentBalance is the current balance of the checking account
- depositAmount is the amount of money deposited remotely

2. Logical expression to verify whether an account has enough funds to transfer a given amount of money to another account:

To verify whether an account has enough funds to transfer a given amount of money to another account, you can use the following logical expression:

currentBalance >= transferAmount

This expression checks if the current balance of the account is greater than or equal to the transfer amount. If the expression is true, it means the account has enough funds to transfer the given amount. If the expression is false, it means the account does not have sufficient funds for the transfer.