Answered You can hire a professional tutor to get the answer.

QUESTION

The final lab assignment for the class is to undertake a mini batch program simulating typical automated teller machines' GUI and functionality

The final lab assignment for the class is to undertake a mini batch program simulating typical automated teller machines' GUI and functionality (except the dispensing of cash, of course!). The program must be created using DOS batch programming. There must be a menu that provides the user with the following options: 

a. Display account balance b. Deposit to an account c. Withdraw from an account d. Show account activities e. Account maintenance f. Exit

Option E, Show account activities submenu will show the following: 

i. Create an account ii. Delete an account iii. List All Accounts iv. Roll-back transactions v. Return to Previous Page

B. Program Guidelines:

1. The project will be on a group basis (maximum of 5 members).

2. Account numbers are 5 digit numbers. Amounts are whole number integers.

3. The program will be marked as: ➢ 8 marks for the accurate processing of each module. ➢ 2 marks for proper verification and labeling (ie., comments/remarks of each code block's functionality) ➢ 5 marks for successful Q/A.

4. Submission is due on Aug 6 [Presentations are scheduled for Aug 1 and Aug 8] o Submission should include ▪ Program (zip copy of code) ▪ A short document on how it works and the output

two files will be maintained:

o ACCOUNTS FILE

▪ Account Code : integer (positive) ▪ Account Name : alphabetic ▪ Amount : integer (positive) 

o LOG FILE

▪ Date : alphanumeric ▪ Account Code : integer (positive) ▪ Transaction Type : alphanumeric (Deposit or Withdraw) ▪ Amount : integer (positive) 

6. When selecting the submenu prompt for account number, submenu is in a separate batch file program. Pass an account number as a parameter.

7. ACCOUNTS FILE contains whole dollar amount.

8. When creating a new account you need to specify an initial amount. Check for existence before trying to create. If it exists then display appropriate message to user. The account will be added as another line (representing a new record) in the ACCOUNTS FILE.

9. When deleting an account make sure it exists, if not display appropriate message to user. You may just choose to overwrite the line in the ACCOUNTS FILE with a flag (i.e., xxxxxxxxxxxx) to denote record deleted.

10. All account activities are recorded to LOG FILE.

11. Roll-back transaction - When invoked from the menu, the system is to prompt the user for a date from which to roll-back all transactions on or before that specified date. For example, given the current status of both the ACCOUNTS FILE and LOG FILE in number 5, if the user entered a roll-back date of 1/9/2014, the ACCOUNTS FILE will be restored to the following contents:

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question