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 and Discussion Spring 2014 Due Date: May 02, 2014


Assignment No. 01 (Non Graded)
CS304- Object Oriented Programming

Total Marks: 20

Due Date : 02-05-2014


Please read the following instructions carefully before solving & submitting assignment:

It should be clear that your assignment will not get any credit (zero marks) if:

  • The assignment is submitted after due date.
  • The submitted assignment is other than .doc file.
  • The submitted assignment does NOT open or file is corrupted.
  • The assignment is copied (from other student or ditto copy from handouts or internet).

Uploading instructions


  • For clarity and simplicity, you are required to Upload/Submit only .DOC file
    • Copy/Paste your class diagram in your final MS Word (.doc) file if you are using any drawing tool (MS Paint, MS Visio etc).                                                    


The objective of this assignment is:


  • To give you the idea of practical implementation of some of the OOP concepts like abstraction, encapsulation, inheritance, association, generalization, specialization, and UML class construction.


For any query about the assignment, contact at



Marks: 20 


Problem Statement:


Suppose there is a company “Zeta International” that is involved in export business of fruits from Pakistan to three continents Asia, Africa and Europe. Consider that the company is using several types of transport i.e. Land transport, Sea transport, and Air transport to carry goods. It uses Land and Sea transport from Pakistan to South East Asia, Middle East, Far East, and Africa. Furthermore, it uses sea and air transport for European countries. It also has cold rooms and halls available to rent in for customers’ small and large orders respectively.


The tasks you have to do are:

  1. Extract the main objects (entities) for above system.
  2. Find the necessary attributes and functions that need to be associated with each object (You are required to mention at most three attributes and one functions for a class).
  3. Identify the relationships between these objects.
  4. Construct a final comprehensive Class diagram showing all objects and their relationships along with their attributes and functions.

Important things to consider: 


  1. As happens in real world that everyone visualizes a problem in a different way so the solutions of all students may vary based upon their own thinking, not taken from any source.
  2. You have to use standard UML notations for objects, classes, and their associations. 


  1. Besides problem statement; objects, properties, and functions of a system can also be extracted from       

      domain knowledge.


  1. You have to use all concepts studied so far like abstraction, encapsulation, inheritance, association, generalization, and specialization wherever applicable.

Lectures Covered:  This assignment covers Lecture #    1-6

Deadline:             Your assignment must be uploaded/submitted at or before 2nd May, 2014.  

Views: 8954

Replies to This Discussion

ooohoo g assigmnt a b gai ha 

Dear Students Don’t wait for solution post your problems here and discuss ... after discussion a perfect solution will come in a result. So, Start it now, replies here give your comments according to your knowledge and understandings....

in this assignment how we can build object and their attribute ?

plz shear ur ideas

UML Newbie Guide

The word document is uploaded fro getting in touch with ULM system of modeling

Might be helpful as It contains some basics of ULM which has been made compulsary for modeling the problem solution  As in the Assignments will get back after more Google. .


Please Give a comment, This the best that I could think of < but I know it is incorrect because its some thing about ULM still if some oene can guide I will apreciate

Very easy assignment just identify the objects then their attributes and functions and the relations among them!

will u please elaborate it further more means I am confusing about what they required?


kindly explain UML notation. what is this either it is a program or some thing else because i did not here in lectures.

Dear arshid UML is a modeling language e.g how we show a class, how we represent association(composition or aggregation) and other symbols which we use for making our class diagram...

extract nouns, identify classes, identify association, attributes, operatioins, inheritance and show them graphically..thats it



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

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