Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.


CS304 Object Oriented Programming Assignment No 1 Solution & Discussion Due Date:12-11-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:

 

  1. Administrator
  2. User (1-Tenant, 2-Owners 3-Buyers )

 

Administrator can delete and give rights to users.

User have further three types which are:

  1. Tenant
  2. Buyer
  3. 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)

 

Example Object Model for Learning Management System

                                                                                                                  

Views: 6197

Attachments:

Replies to This Discussion

friends i started New discussion with attached solution please chek all an comment . yha attache nhi ho rha tha

plz check karo

Attachments:

copy paste se kuch nahi bny ga ::: only entites .......u need attributes of entites & function of attributes

yeah sol wrong hea!!

thek se clear nhi ho rha 

CS304_Complete_Idea_Solution-Assig#01

Attachments:

RSS

© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service