CS304 Assignment No 1 Solution Fall 2012 [us]

CS304 Object Oriented Programming Assignment No 1 Solution Fall 2012
ASSIGNMENT:
 In this course we are going to develop a “Property Portal”, in which we have different property categories which includes houses and plots. This portal will be accessed by two types of users:
Administrator
User (1-Tenant, 2-Owners 3-Buyers )
Administrator can delete and give rights to users.
User have further three types which are:
  • Tenant
  • Buyer
  • Owner
Tenant can search houses for renting purpose. User (tenant and buyer) can search a house or plot on following basis:
Society Name where plots or houses exist
Type of property (commercial or residential)
Area of plot/house

Buyer can buy any type of property which includes residential and commercial plots and houses.
Owner can advertise his/her property for to be rented and as well for selling purpose. Their property may include houses for residential purpose while plots for both residential as well as for commercial purpose. Owner will make an advertisement on portal having following information:
Town/Society Name where plot or houses exist
Type of property (commercial or residential)
Area of plot/house

Categories of residential property are:
> Residential Houses
> Residential Flats

Plots are also of two type’s i.e.
> Commercial plots
> Residential plots

The tasks you have to do are:
1. You have to identify the main entities (objects) for this system.
2. You have to find out the relationships between these objects.
3. You will have to find the necessary attributes and functions that need to be associated with each object to implement the functionality mentioned above.
4. You will make a final comprehensive diagram showing all objects and their relations along with their attributes and functions.

Note: Use all concepts you have studied so far like abstraction, encapsulation, and inheritance and sub typing, Information Hiding and Polymorphism wherever applicable. You can use any tool for drawing like MS Office or Visio.
Important things to consider:
1. As happens in real world that everyone visualize a problem in different way so the solutions of all students should be according to their own thinking not taken from some source.
2. As this is preliminary phase of our system so it is recommended that you identify as much objects and their relationships as you can some of them may be eliminated in next assignments.
3. All identified Objects, data members and member function should be logically correct and must belong to domain. Avoid irrelevant information.
4. Use standard UML notations for object, classes, and their associations.

Example:
A snapshot of final object model from the solution of previous semester first assignment is shown below, (you need not to worry about data types at this moment)
Solution:

Coming Soon..

Leave a Reply

Related Posts Plugin for WordPress, Blogger...