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

Please Discuss here about this assignment.Thanks

This is my first try...

Plz  Discuss it and correct it .

Thanks

 

Attachments:

No, body share, but they copy it in other page,how cheep they are.They best way is to accurate idea to new form not to copy it and share it.They all are fools. I am really sorry to say that but it fact.

Please use Your powerful brain.

Thanks,   

First we see for nouns,which are Property Portal,Administrator,User,Tenant,Buyer,Owner.

frndSss pLxx k0i ideaa shaReee kaR0ooo.............................

™©~®}-( ζ๏v€ Άđđiċţ)-{©~®™ Be touched with this discussion ...assigment solution will be uploaded soon 

CS304 Assignment No 1 Solution fall 2012

See the attached file please

Attachments:

Thanx dear....this is piece of cake who have brain.....

tariq lot of confuse so please clearly

Ye to sample he solution to nae :(

ye open nhi ho rhi

more clearly please.............

RSS

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

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