After reading the chapter, you should complete the two exercises at the end of the chapter. The first requires you to create a class of objects for bank accounts and gives you some guidance about what needs to be included in the class.  The second requires you to design a class of your own. You can create a UML diagram by inserting a table with one column and three rows in a Microsoft Word document. You can create an annotated UML diagram by inserting a table with two columns and three rows in a Microsoft Word document, then merging the two columns in the top row. Submit your work as two PDF files zipped together.  The first should include the UML diagram for the Bank Account Class from exercise 1. The second should include a descriptive paragraphs and the UML diagram for exercise 2.  You can create aPDF file from a Word document by using “Save As … ” , then choosing the PDF file type. A Word document with the sample UML diagrams for the Employee class from chapter 8 are included here and in the Chapter files.

Exercise 1: Bank Account Class

In this exercise, you are required to create a class for bank accounts. The class should have various attributes and methods to handle banking operations. The given guidance gives you an idea of what needs to be included in the class.

To start with, you should design a class diagram using the UML notation. A UML diagram provides a visual representation of the class structure and relationships. You can create a UML diagram by inserting a table in a Microsoft Word document. The table should have one column and three rows.

In the first row of the table, list the attributes of the Bank Account class. These attributes may include the account number, account holder name, balance, and any other relevant information.

In the second row, list the methods or operations that the Bank Account class should have. These methods might include deposit(), withdraw(), checkBalance(), and transferFunds(), among others.

In the third row, describe the purpose or function of each attribute or method. For example, the deposit() method would be responsible for adding funds to the account, while the withdraw() method would handle withdrawing funds from the account.

Once you have completed the UML diagram, you should save it as a PDF file using the “Save As…” option in Microsoft Word. This ensures that your diagram is easily viewable and accessible for grading purposes.

Exercise 2: Design Your Own Class

For the second exercise, you are tasked with designing your own class. This allows you to showcase your understanding of class design principles and apply them in a practical scenario.

You should start by brainstorming a domain or subject for your class. This could be anything from a car rental system to a social media platform. Once you have identified a domain, think about the attributes and methods that would be relevant to that domain.

Similar to exercise 1, create a UML diagram for your class. This time, the UML diagram should include a descriptive paragraph alongside the class diagram. The paragraph should explain the purpose and functionality of your class in more detail.

Again, save your UML diagram and descriptive paragraph as a PDF file using the “Save As…” option in Microsoft Word.

Remember to submit both of your PDF files, zipped together, for grading.

In conclusion, these exercises provide an opportunity for you to apply your knowledge of class design and showcase your understanding of UML diagrams. By completing these exercises, you will strengthen your skills in creating and documenting classes using industry-standard notation.

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadline.

Click Here to Make an Order Click Here to Hire a Writer