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.


CS504 Software Engineering - I Assignments No.03 Discussions and Solutions Spring 2013 Due Date: 25-06-2013

Assignment No. 03 Semester Spring 2013 Software Engineering I – CS504
Total Marks: 20
Due Date: 25-06-2013
Objectives
The objective of this assignment is:
 To increase your level of understanding about UML Modeling and how to identify objects, attributes, operations and their relationship.
 To help you understand how to develop UML Object Model by using UML notations.
Instructions
Please read the following instructions carefully before assignment submission.
It should be clear that your assignment will not get any credit if:
 The assignment is submitted after due date.
 The submitted assignment does not open or file is corrupt.
 The assignment is plagiarized.
Note
 The assignment should be in .doc format. Assignment in any format other than MS Word format will not be accepted.
 Assignment submitted through email will not be accepted.
 This assignment is covering UML Object Model Notations Lectures 13-23.
 Recall the lectures delivered for UML and Object Model Notations to solve your assignment
For any query about the assignment, contact at cs504@vu.edu.pk
GOOD LUCK
Project Description:
“ABC” is a worldwide company whose branches are situated all over the world. “ABC” needs an online virtual drive for storage of its important data over the web so that data can be accessible at any branch. They face a lot of problems due to distributed data so they demand an online virtual drive that is web based application which can manage their data problems. Online Virtual Drive will be a Web based application that will help users to store their important data on an online virtual disk drive that will act as similar to our hard disk. All the directories and files would be viewed as similar as we are viewing them on our personal computer’s hard drive. There will be two types of users other than the administrator. Anonymous User and Registered User.
Online Virtual Drive application will have a user-friendly interface. It will fulfill all the user and business requirements of the ABC Company. It will also provide required reports efficiently to the management and will help them in decision making. Anonymous user can access to Help Section, Tell a Friend Section, FAQ Section, About Us Section, Feedback Section and Registration or Sign Up page.
An anonymous user will fill the whole Registration form and will submit it to the administrator. Administrator of the system will have the right to approve or disapprove the user. When Administrator will approve the space requested by Anonymous user and verify all the information provided by Anonymous user in his/her registration form then a confirmation email will be sent to that Anonymous user which will become Registered User. Registered User on approval by administrator first has to login, to use the various functionalities of the system. User can upload files, delete, move and copy/paste files in directories/folders on system. User can make as many directories on system till his/her quota of space is not exceeded.
By Considering the above scenario you are required to draw Object Model for Online Virtual Drive system. UML Object Diagram should be comprehensive and must contain:
1. All possible objects Marks 5
2. Possible attributes for each object Marks 5
3. Operations of each object Marks 5
4. Relationships among different objects for example Inheritance, Aggregation, composition, Association etc. Marks 5
Note:
o Assignment should not be copied from net, handouts, books or any fellow.
o Solution should be “Precise”.

Views: 10656

Attachments:

Replies to This Discussion

Ms word me kua UML diagram bnn jae ge?????????????????mara ms visio nae ho rha ha download :(

ms word mein uml diagarm nahi bnn sakti hai. ap ko uml diagram banay kay liay ms visio chaiye

but mrya ms visio ma class ma data enter ni ho raha problema jti ha

UML Diagrams online bnay.

..https://www.draw.io/

https://creately.com/app/?tempID=h165rwt81#

koi zarort nea ha VISIO ko download kerna ki 

Ma na abi is he se assginement bni ha ..bhot aram se bni ha assignmet jb hr chz bna jye toh in ko save as ki jga export kero or os ko jpg ma save ker la ..

Please make online diagrams UML clicke this link or bna la . software download ka chacker ma na pry ...

ap nay class may dat kesy enter kia tha muj say ane ho raha

plz help me out..

unable to edit ur asmt. i have installed the visio 2007.. but its giving error ...plz guide how to edit..

need help

Attributes for each object

Anonymous User (Name, email, address, contact no, father)

Registered User (username, password, id, space)

Admin (username, password, id)

File (Name, size, directory name)

Directory(Name, total Files, space, parentdirectoryName)

Report (Title, detail, Result, suggestion)

Operations:

Anonymous User:

register, see help_section, tell_a_friend, see_faq, see_about_us, give_feedbck.

Registered User:

Signin, upload_file, delete_file, edit_file_name, create_copy, move_file, create_directory, delete_directory, edit_directory_name, see_space, view_file.

Admin:

Signin, upload_file, delete_file, edit_file_name, create_copy, move_file, create_directory, delete_directory, edit_directory_name, see_space, view_file, see_ reports, see _users, confirm_user, allote_space.

File:

setName, setDirectoryName, create_copy.

Directory:

setName, create_subdirectory, add_file, delete_file, move_file, set_Size.

Report:

setTitle, setDetail, compile_Result, set_suggestion.

CS504 Software Engineering - I  Assignments No.03  Solutions Spring 2013

Need   just diagram

but contain followings

By Considering the above scenario you are required to draw Object Model for Online Virtual Drive system. UML Object Diagram should be comprehensive and must contain:
1. All possible objects Marks 5
2. Possible attributes for each object Marks 5
3. Operations of each object Marks 5
4. Relationships among different objects for example Inheritance, Aggregation, composition, Association etc. Marks 5

How to draw UML Object Diagram?

An object diagram is an instance of a class diagram. It implies that an object diagram consists of instances of things used in a class diagram.

So both diagrams are made of same basic elements but in different form. In class diagram elements are in abstract form to represent the blue print and in object diagram the elements are in concrete form to represent the real world object.

To capture a particular system, numbers of class diagrams are limited. But if we consider object diagrams then we can have unlimited number of instances which are unique in nature. So only those instances are considered which are having impact on the system.

From the above discussion it is clear that a single object diagram cannot capture all the necessary instances or rather cannot specify all objects of a system. So the solution is:

  • First, analyze the system and decide which instances are having important data and association.

  • Second, consider only those instances which will cover the functionality.

  • Third, make some optimization as the numbers of instances are unlimited.

Before drawing an object diagrams the following things should be remembered and understood clearly:

  • Object diagrams are consist of objects.

  • The link in object diagram is used to connect objects.

  • Objects and links are the two elements used to construct an object diagram.

Now after this the following things are to be decided before starting the construction of the diagram:

  • The object diagram should have a meaningful name to indicate its purpose.

  • The most important elements are to be identified.

  • The association among objects should be clarified.

  • Values of different elements need to be captured to include in the object diagram.

  • Add proper notes at points where more clarity is required.

The following diagram is an example of an object diagram. It represents the Order management system which we have discussed in Class Diagram. The following diagram is an instance of the system at a particular time of purchase. It has the following objects

  • Customer

  • Order

  • SpecialOrder

  • NormalOrder

Now the customer object (C) is associated with three order objects (O1, O2 and O3). These order objects are associated with special order and normal order objects (S1, S2 and N1). The customer is having the following three orders with different numbers (12, 32 and 40) for the particular time considered.

Now the customer can increase number of orders in future and in that scenario the object diagram will reflect that. If order, special order and normal order objects are observed then we you will find that they are having some values.

For orders the values are 12, 32, and 40 which implies that the objects are having these values for the particular moment (here the particular time when the purchase is made is considered as the moment) when the instance is captured.

The same is for special order and normal order objects which are having number of orders as 20, 30 and 60. If a different time of purchase is considered then these values will change accordingly.

So the following object diagram has been drawn considering all the points mentioned above

Where to use Object Diagrams?

Object diagrams can be imagined as the snapshot of a running system at a particular moment. Now to clarify it we can take an example of a running train.

Now if you take a snap of the running train then you will find a static picture of it having the following:

  • A particular state which is running

  • A particular number of passengers. which will change if the snap is taken in a different time.

So here we can imagine the snap of the running train is an object having the above values. And this is true for any real life simple or complex system. In a brief, object diagrams are used for:

  • Making the prototype of a system.

  • Reverse engineering.

  • Modeling complex data structures.

  • Understanding the system from practical perspective.

UML Object Diagrams Example

Objects for this Assignment

Anonymous User, Registered User, Admin, File, Directory, Report.

Attributes for each object

Anonymous User (Name, email, address, contact no, father)

Registered User (username, password, id, space)

Admin (username, password, id)

File (Name, size, directory name)

Directory(Name, total Files, space, parentdirectoryName)

Report (Title, detail, Result, suggestion)

RSS

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

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