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.

Assignment No. 2 (Graded) CS504 Software Engineering - I has been uploaded on VULMS and you are required to submit it on or before Monday, 14 December 2015.

Assignment No. 02

Semester: Fall 2015                                             Total Marks: 10

CS504 Software Engineering I





Suppose you are a domain analyst in a renowned software house ABC. You have been given a task to model requirements for domain understanding for a software project.


Scenario is given below;


Virtual University campuses all over the Pakistan need to establish “Coffee machine” in their respective places to fulfill cafeteria needs and keep students energetic. The prototype of that Coffee machine should be aesthetically good enough and yet easy to handle for an IT-expert.


In a brainstorming session of capturing requirements, there comes major functional requirements like place a coffee order, its preparation, serving and maintenance etc. It’s quite simple at first look but in a more elaborated and refined version, it soon turns out that design should pay attention in more details. So for above said core functionalities, there will possibly some extended and included use cases such as for the preparation of coffee, there requires to add milk and insert coffee. Also, maintenance requires clean up and refill. Similarly, order placement also linked with some requirements.













(Please see next page)





























Use Case Diagram for Coffee Machine System




In Assignment No.2, you are required to draw an Object Model (Class Diagram) of the above scenario by identifying classes, its attributes and related functions. You should have to show the relationship among different classes like Composition, Aggregation and Inheritance.


Your solution must conform to the concepts of Object Oriented Design paradigm like Abstraction, Coupling, Cohesion, Encapsulation etc.



Assignment No.1 and its Solution will provide you basis to solve Second assignment. Lecture No.15 to onwards will be helpful for you to develop a strategy about how to find out classes, attributes, functions, relationship etc. for Object Model.



Submit “.doc” file only. Every student should provide his/her own work, exact copying of the assignment (or some portion of the assignment) from the internet or other students will lead to copy case and zero marks will be awarded. Different softwares will be used to check plagiarism in assignments. Do not put any query on MDB about this assignment, if you have any query then email at



Your assignment must be uploaded/submitted on or before 14th Dec 2015.

Views: 19033


Replies to This Discussion

complete solution send me pls

ay to mugy b bhaj dena ulfat7214@GMAIL.COM



Price, date of purchased, life time, speed of work etc….
Make coffee
Sub function
Mix the milk ,coffee

Name, age, address etc………
Purchase tea
Make tea
In bank pay cash and receive cash

Name, building, employee etc….
Give cash Sub function
Pay cash

Name, age, address etc…..
Sub function
Pay cash
Insert coffee

Name, age, address etc….
Sub function
Clean up

Name ,age ,address etc…..
Sub function
Pay cash
Insert coffee ,add milk

Shafaqat bhai full diagram ke sath solution share kr sakte ho. Time boht kam hai plzzzz

bro........share with diagram 

Sis aap ki file download ni ho

ye aggregation from coffee machine to person nhi hogi ??

 I thtink bank should be in a relation with person .. so it becomes in relation with sub classes ... is it right ??

Friends above solution ka idea dain ????//

Coffee machine has a relationship : (composition)

  1. Canister
  2. Cover
  3. Water Bottle

Service boy and maintainer associated with the coffee machine

Coffee machine has a relationship : (aggregation)

  1. user
  2. Bank

Now You people can easily draw it.

koi to final solution upload ker do...plzz


Looking For Something? Search Below

Latest Activity

Zara sanum liked M Ilyas | (Ex-VU)'s discussion Final Report and Presentation
29 minutes ago
Zara sanum liked ASIM!!'s discussion جمعہ مبارک
47 minutes ago
Zara sanum liked Zara sanum's discussion cs619 project final deliverable
50 minutes ago
Zara sanum replied to Zara sanum's discussion cs619 project final deliverable
50 minutes ago
Zara sanum posted a discussion
52 minutes ago
Zara sanum replied to ASIM!!'s discussion جمعہ مبارک
54 minutes ago
Zara sanum updated their profile
55 minutes ago
ASIM!! posted a discussion
3 hours ago

VIP Member Badge & Others

How to Get This Badge at Your Profile DP


Management: Admins ::: Moderators

Other Awards Badges List Moderators Group

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

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