1 Create a class diagram for either the IPad app or web app
1. Create a class diagram ( for either the IPad app or web app) show at least 7 classes, their relationships. and a few of the attributes and methods for the classes.
2. Draw a small domain model for the system (5 entities) and show relationships between the entities.
Solution
For an app, it generally depends on the type of the application you are preparing.
For a shopping based application you will have to make the following classes as:
1) Order class which will have attribues: item number, price, name
and can have functions:dispatch(), close()
2)Customer class can have attributes: name, address
and can have functions as creditRating()
3)Personal Customer class can extends customer class
4) coorporate customer can extend the customer class
5) OrderLine Class
We can make more classes and add attributes and methods to them according to the requirement given by the client.Relationship can also be determined in the same way.
