PDA

View Full Version : CS304 Object Oriented Programming Assignment No.1 fall spring october 25 2011



Vuhelper
10-25-2011, 07:51 PM
Object Oriented Programming (CS304)

Assignment No.1


Deadline

Your assignment must be uploaded before or on Monday 31st October, 2011

Rules for Marking
It should be clear that your assignment will not get any credit if:



The assignment is submitted after due date
The assignment is copied


Objectives


The objectives of this assignment are,



Giving the idea of practical implementation of basic object oriented concepts like abstraction, encapsulation, inheritance, information hiding, generalization, specialization, polymorphism and association.





Assignment:


In this course we are going to develop software for “Electronic Card System” that will computerize all the necessary processes. This application will facilitate the Normal user, Member User and Administrator in running and managing the card creation, customization and sending to appropriate receiver. We will mainly focus on these aspects,




Normal User related functionalities
Member User related functionalities
Administrator related functionalities


The explanation of these three systems is given below,



Normal User related functionalities :

Normal user/visitor can sign up the application by just providing username and email address. He/She can view different categories of cards (birthday, marriage, friendship etc). He/She can select card form the given categories and then send to the appropriate receiver by providing email address and name of the receiver. Normal User can be a member user upon request.




Member User related functionalities:

Member/Registered user can perform all the functionalities of Normal user along with some additional benefits. He/She can customize cards as per his/her own will. For this He/She can select card from a list of card category, select sound (background music), and a textual space. After Creation of card he/she can send to a desired person. He/She can additionally make up a profile and a contact list. Member User can discard/cancel any transaction under process.


We will store necessary attributes for member user such as,

(name, age,e-mail address, , roll no, telephone #, NIC number, …..)


We will store necessary attributes for cards and category as,

(Card ID, category ID, music ID, name …..)




Administrator related functionalities:


Administrators can add/modify/delete cards and its related categories, music. Some new cards can be inserted into any existing category or in a new category. Modification of card deals change in category from one to another, also some new sound files (music) can be added. Old ones can be deleted as well.
Administrator can add/delete a user.

.


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 show and 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.




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

valde
10-31-2011, 05:39 AM
yar where is the solution?