(a) Consider an email client application. The purpose of this application is to put the world of online communication on your desktop. Using it you should be able to receive emails, compose new emails and send them to colleagues and friends. The application should also let you maintain an address book containing contact details of your friends and colleagues. Identify the actors involved in this application, their relationship with one another and the actions performed by them.
Ans:
-> "User account" will send and receive emails from his "contacts".
-> "Contacts" will contain the details of the friends and colleagues.
-> A "server" that manipulates the transfer of mails.
-> An "editor" that enable to "user" to compose emails.
(b) Suppose you are required to create an Enquiry tracker system for a car dealer. The purpose of this system is to help a car dealer to keep a track of inquiry about a car purchase. When a customer makes a call to a dealer, the system should be able to store contact information of the customer, whether the customer has bought any car from the dealer in the past, mode of payment (cash/ cheque/finance). The system should be able to generate a quotation for the model of the car that a particular customer is interested in. The quotation must contain detailed information about the car model, it on-road price, insurance amount and prices of accessories. The system should be able to furnish a day-wise report indicating the inquiries made and a quarterly report indicating the total number of cars sold. Identify the actors involved in this application, their relationship with one another and the actions performed by them.
Ans:
-> "Cars" detailed should store in a "model book".
-> "Customer Details" should be stored in "cust-book".
-> "Model-book" is accessed by "Customer".
-> "cust-book" should be accessed by the "dealer".
-> "Cars" have details model number, price, insurance, etc.
-> "Auto-update" system that updates the database on the call of "customer".
-> "Auto-furnish" system that sends the data on a daily basis.
Ad
Chapter - 1: Intro to OOP
Answer the following:
Ad
Ad