CS304 Object Oriented Programming Assignment 1 Non Graded Fall 2013

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


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 CS304@vu.edu.pk



Marks: 20 

Problem Statement:

Consider the web site of Virtual University of Pakistan (www.vu.edu.pk ) consisting of many components such as Admission guidelines, Bookshop facility, and Opportunities etc. Suppose University wants to update its site. This updation may involve addition of some new features and modification of some existing features.  Different teams have been hired to achieve this task. Suppose you are a part of design team whose task is to develop models of website. But you have not been provided any documentation that could help you to completely understand the working of the system. Now, as a first step you are required to make a class diagram by understanding the working of the system from the existing site.

As the site contains a lot of modules/components, so for the sake of simplicity you are required to focus ONLY on the following:

  1. Admissions

– Admitted Candidates List

– Admission Schedule

– Fee Structure (Local)

– Fee Structure (Overseas)

  1. Academic Programs

– Bachelors

– Masters

– Diploma

  1. Scholarships

– VU Scholarships

– Punjab Workers Welfare Board Scholarships

– Syeda Mubarak Begum Scholarships


  1. Bookshop

– DVD(s)

– Handouts


Note: You are required to consider the above components/subcomponents only and build a class diagram in an efficient way.


The tasks you have to do are:

  1. Extract the main objects (entities) for this 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. (Note: Present Scholarships component in suppress form).

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. You have to use all concepts studied so far like abstraction, encapsulation, inheritance, association, generalization, and specialization wherever applicable.
  2. This assignment is Non Graded, which means its mark will not be considered in final grading, however, you are required to solve it and UPLOAD/Submit on LMS because upcoming assignments will be the continuation of this assignment.
Lectures Covered:  This assignment covers Lecture #    1-6

Deadline:             Your assignment must be uploaded/submitted at or before.  November 19, 2013

Assignment Solution: Coming Soon