Starting Out With Visual C# (5th Edition)
Starting Out With Visual C# (5th Edition)
5th Edition
ISBN: 9780135183519
Author: Tony Gaddis
Publisher: PEARSON
Expert Solution & Answer
Book Icon
Chapter 10, Problem 4AW

Explanation of Solution

a.

 Given problem domain:

The bank provides the accounts types such as,

  • Saving accounts
  • Checking accounts
  • Money market accounts

The main purpose of the customer is to deposit the fund to account or withdraw fund from account, and getting interest from bank...

Program Plan Intro

b.

Refining the potential classes list in a problem domain:

  • There are mainly four steps to refine the list of nouns, pronouns, and pronoun phrases in the problem domain description as follows.
    • Remove the repeated nouns and plural nouns from the list of nouns, as most of the nouns have the same meaning.
      • For example, “car and cars” and “bus and buses”.
    • There is no need to consider the items represented by some nouns to solve the problem.
      • For example, in order to write the service quotes for customer, there is no need to write the class for the Automotive shop where the service is provided.
    • Strike out the nouns that are objects of the class.
      • For example, X Model Car, Y Model Car is objects of Car class.
    • No particular class is needed for the values in the problem description. They are just variables or consonants.
      • For example, 10$ for 3Months, Service for cars with total mileage less than 100,000 kilometres. These values do not need a class.

Program Plan Intro

c.

Responsibilities of a class:

  • The classes are identified from the problem description prepared by the domain expert.
  • Once it is identified, the next step is to know the responsibilities of the class.
  • It is done before implementing the class declaration.
  • The two main responsibilities of a class are as follows:
    • Knowing the things that the class is responsible for.
    • Actions that the class is responsible to do.
  • The things represent the properties or fields used to store the values of the class objects.
  • The actions represent the methods used to perform various operations on the class fields.

Blurred answer

Chapter 10 Solutions

Starting Out With Visual C# (5th Edition)

Ch. 10.3 - Prob. 10.11CPCh. 10.3 - Prob. 10.12CPCh. 10.3 - Prob. 10.13CPCh. 10.3 - Prob. 10.14CPCh. 10.3 - Prob. 10.15CPCh. 10.4 - Prob. 10.16CPCh. 10.4 - Prob. 10.17CPCh. 10.4 - Prob. 10.18CPCh. 10.5 - Prob. 10.19CPCh. 10.5 - Prob. 10.20CPCh. 10.5 - Prob. 10.21CPCh. 10.5 - Prob. 10.22CPCh. 10.5 - Prob. 10.23CPCh. 10.5 - Prob. 10.24CPCh. 10.6 - Prob. 10.25CPCh. 10.6 - Prob. 10.26CPCh. 10.6 - Prob. 10.27CPCh. 10.6 - Prob. 10.28CPCh. 10.6 - Prob. 10.29CPCh. 10.7 - Prob. 10.30CPCh. 10.7 - Prob. 10.31CPCh. 10.7 - Prob. 10.32CPCh. 10.7 - Prob. 10.33CPCh. 10 - Prob. 1MCCh. 10 - Prob. 2MCCh. 10 - Prob. 3MCCh. 10 - Prob. 4MCCh. 10 - Prob. 5MCCh. 10 - Prob. 6MCCh. 10 - Prob. 7MCCh. 10 - Prob. 8MCCh. 10 - Prob. 9MCCh. 10 - Prob. 10MCCh. 10 - Prob. 11MCCh. 10 - Prob. 12MCCh. 10 - Prob. 13MCCh. 10 - Prob. 14MCCh. 10 - Prob. 15MCCh. 10 - Prob. 16MCCh. 10 - Prob. 17MCCh. 10 - Prob. 18MCCh. 10 - Prob. 19MCCh. 10 - Prob. 20MCCh. 10 - Prob. 21MCCh. 10 - Prob. 22MCCh. 10 - Prob. 1TFCh. 10 - Prob. 2TFCh. 10 - Prob. 3TFCh. 10 - Prob. 4TFCh. 10 - Prob. 5TFCh. 10 - Prob. 6TFCh. 10 - Prob. 7TFCh. 10 - Prob. 8TFCh. 10 - Prob. 9TFCh. 10 - Prob. 10TFCh. 10 - Prob. 11TFCh. 10 - Prob. 12TFCh. 10 - Prob. 13TFCh. 10 - Prob. 14TFCh. 10 - Prob. 15TFCh. 10 - Prob. 16TFCh. 10 - Prob. 17TFCh. 10 - Prob. 18TFCh. 10 - Prob. 1SACh. 10 - Prob. 2SACh. 10 - Prob. 3SACh. 10 - Prob. 4SACh. 10 - Prob. 5SACh. 10 - Prob. 6SACh. 10 - Prob. 7SACh. 10 - Prob. 8SACh. 10 - Prob. 9SACh. 10 - Prob. 10SACh. 10 - Prob. 11SACh. 10 - Prob. 12SACh. 10 - Prob. 13SACh. 10 - Prob. 14SACh. 10 - Prob. 15SACh. 10 - Prob. 16SACh. 10 - Prob. 17SACh. 10 - Prob. 18SACh. 10 - Prob. 1AWCh. 10 - Prob. 2AWCh. 10 - Prob. 3AWCh. 10 - Prob. 4AWCh. 10 - Prob. 5AWCh. 10 - Prob. 6AWCh. 10 - Prob. 1PPCh. 10 - Prob. 2PPCh. 10 - Prob. 3PPCh. 10 - Prob. 4PPCh. 10 - Prob. 5PPCh. 10 - Prob. 6PPCh. 10 - Prob. 7PPCh. 10 - Prob. 8PP
Knowledge Booster
Background pattern image
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education