0% found this document useful (0 votes)
10 views1 page

Question 1: Design and Code A C++ Class Monthdata That Stores The Weather

The document describes three questions related to class diagrams and use case diagrams. Question 1 involves designing a C++ class to store monthly weather data and another class to store yearly data by averaging monthly data. Question 2 involves developing class and use case diagrams for a travel agency software system that allows users to make, view, and cancel reservations and allows employees to manage operations with login credentials. Question 3 involves developing class and use case diagrams for a banking system where clients can have multiple account types but only one per type, clerks can perform transactions with account details, and managers can approve withdrawals and impose fines on low balances.

Uploaded by

vivek patel
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views1 page

Question 1: Design and Code A C++ Class Monthdata That Stores The Weather

The document describes three questions related to class diagrams and use case diagrams. Question 1 involves designing a C++ class to store monthly weather data and another class to store yearly data by averaging monthly data. Question 2 involves developing class and use case diagrams for a travel agency software system that allows users to make, view, and cancel reservations and allows employees to manage operations with login credentials. Question 3 involves developing class and use case diagrams for a banking system where clients can have multiple account types but only one per type, clerks can perform transactions with account details, and managers can approve withdrawals and impose fines on low balances.

Uploaded by

vivek patel
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

LAB 5

Question 1: Design and code a C++ class monthData that stores the weather information for a particular month: Total rainfall, High temperature, Low temperature, Average Temperature. Write another class yearData that holds the ear wise weather information. The yearData must contain average monthl rainfall, total rainfall for the ear, the highest and lowest temperature. Constructor of yearData must receive an arra of !" monthData o#$ects. Write a main%& function to demonstrate our classes.

Draw '(L Class Diagram and use case diagram for the following )uestions identif ing the classes their attri#utes, #ehavior and relationship among them for class diagram * actors, s stem, use case, relationship for 'se case diagram&.

Question 2: +oftware for a travel agenc provides reservation facilities for the people who wish to travel on tours # accessing a #uilt in networ, at the agenc #ureau. The application software ,eeps information on tours. 'sers can access the s stem to ma,e a reservation on a tour and to view information a#out the tours availa#le without having to go through the trou#le of as,ing the emplo ees at the agenc . The third option is to cancel the reservation that he-she made. An complaints or suggestions that the client ma have could #e sent # e.mail to the agenc or stored in a complaint data#ase. /inall , the emplo ees of the corresponding agenc could use the application to administrate the s stem0s operations. 1mplo ees could add, delete, and update the information on the customers and the tours. /or securit purposes, the emplo ees should #e provided a login id and password # the manager to #e a#le to access the data#ase of the travel agenc .

Question 3: Develop the class diagram and use case diagram for the #an,ing scenario which is as follows: The client can have onl one account of specific t pe. 2ut, a client can have more than one account of different t pes. The cler, can access to the account of clients for an deposit-withdrawals. The cler, has to get the complete details of account #efore performing an transactions. The manager has the right to approve the withdrawal transactions. 3f the client wants to deposit more than 4s. 56666-. then he-she has to get the approval of (anager. The manager has the right to impose a fine of 4s.!766-. in case of account #alance less than 4s.!666-.. The s stem notifies the client a#out the fine imposed # the manager. And also notifies the manager whenever the account #alance is less than 4s. !666-..

You might also like