- Back to Home »
- Cs304 Assignment no 1 fall 2012
Posted by : Anonymous
Monday, 5 November 2012
The
objectives of this assignment are, giving the idea of basic object oriented
concepts like:
- Inheritance
- Aggregation
- Composition
- Extraction
of Object from scenario
- Extraction
of classes and their relationship
- Extraction
of data members using domain knowledge
- Extraction
of member functions using domain knowledge
- Complete
Object Model development using Standard UML notations.
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:
- You have to identify the main
entities (objects) for this system.
- You have to find out the
relationships between these objects.
- You will have to find the
necessary attributes and functions that need to be associated with each
object to implement the functionality mentioned above.
- 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:
- 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.
- 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.
- All identified Objects, data
members and member function should be logically correct and must belong to
domain. Avoid irrelevant information.
- 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