Software Models
Assignment 3:
Individual Assignment
Due Date: 09/24/2020
Total points: 25
Name:
1. Draw a class diagram of a small banking system showing association between classes: Bank, Teller, Manager, Customer, and Account. (7 points)
2. Draw a class dependency graph for question 1. (5 points)
3. Draw an activity diagram for pumping gas and paying by credit card at the pump. Include at least five activities such as, select gas and two decisions such as, “Get receipt” (8 points)
4. For a program represented by the class dependency graph of Figure 4.12, write a contract between classes Sale and Payment in plain English. (5 points)