Reminder: Initial Discussion Board posts due by Friday, responses due by Tuesday
Students will be expected to post their first initial discussion board posting by Friday of each week. Discussion posts will be graded and late submissions will be assigned a late penalty in accordance with the late penalty policy found in the syllabus. NOTE: All submission posting times are based on midnight Central Time.
Students are expected to post their responses to peers by Tuesday. NOTE: All submission posting times are based on midnight Central Time.
Primary Task Response: Within the Discussion Board area, write 400–600 words that respond to the following questions with your thoughts, ideas, and comments. This will be the foundation for future discussions by your classmates. Be substantive and clear, and use examples to reinforce your ideas.
You are designing an application that will help keep track of sales for your company. This sales data may be shared with potential clients. There are three types of accounts that track sales for your company: supplies, services, and paper.
All sales accounts will have an account id. You will need attributes to keep track of the number of hours and rate per hour of services provided. You will need attributes to keep track of the number of pounds of paper sold and the price per pound. You should also keep track of the total sold in supplies. In addition to the following required attributes for supplies, services and paper account classes, feel free to include additional attributes that you think are appropriate.
Your management wants the application to be easy to maintain and to promote code reuse as much as possible. You propose that this can be best achieved by utilizing object-oriented design principles and you want to incorporate an inheritance hierarchy with the account types. The first step of your design process is to design and present to the team an Account inheritance hierarchy.
Create a class diagram for the Account inheritance hierarchy. Your subclasses should be Supplies, Services, and Paper.
Explain your class diagram and answer the following:
- How does this inheritance hierarchy promote code reuse?
- How does this inheritance hierarchy make the application easier to maintain?
- If in the future, if another type of account is needed, what are the steps for adding this new account type to your design?
Responses to Other Students: Respond to at least 2 of your fellow classmates with a reply of at least 100 words about their primary task response regarding items you found to be compelling and enlightening. To help you with your discussion, please consider the following questions:
- What did you learn from your classmate's posting?
- What additional questions do you have after reading the posting?
- What clarification do you need regarding the posting?
- What differences or similarities do you see between your posting and other classmates' postings?