Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

a. Step1: Identify the potential classes in this problem domain by listing all t

ID: 3795538 • Letter: A

Question

a. Step1: Identify the potential classes in this problem domain by listing all the nouns in above problem domain

b. Step2: Refine the list to include only the necessary noun on the list to be the name of class or classes for this requirement statement: Remove any noun from the above list that modifies other noun, has the same meaning or does not relate to the problem. For example: between account and customer; it is better if just keep account as a class because the attributes of customers, such as, name, id, address, etc. can be name, id, address of an account.

c. Identify the responsibilities of the class or classes.(list things that the class is responsible for knowing to define fields that is needed to define and list

Look at the following requirement statement: The bank online application offers the following types of accounts to its customers: saving accounts, checking accounts and money market accounts. The application allow users to deposit money into an account (thereby increasing its balance), withdraw money from an account (thereby decreasing its balance) and earn interest on the account. Each account has an interest rate Assume that you are writing an application that will calculate the amount of interest earned for a bank account

Explanation / Answer

Step a: Identifying all the nouns

1. Account
2. Customer
3. Savings Account
4. Checking Account
5. Money Market Account
6. Balance
7. Interest Rate

Step b: Refining the nouns by removing nouns that modify others

1. Customer
2. Savings Account
3. Checking Account
4. Money Market Account

Step c : Responsibilities of each class

Customer Class:

Savings Account:

Checking Account:

Money Market Account:

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote