We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>
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 CS504@vu.edu.pk
Your assignment must be uploaded/submitted on or before 14th Dec 2015.
.+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)
+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)+ Click Here to Search (Looking For something at vustudents.ning.com?) + Click Here To Join (Our facebook study Group)
complete solution send me pls firstname.lastname@example.org
ay to mugy b bhaj dena ulfat7214@GMAIL.COM
CS504 SOLUTION OF ASSIGNMENT 2
HAFIZ SHAFAQAT ALI
Price, date of purchased, life time, speed of work etc….
Mix the milk ,coffee
Name, age, address etc………
In bank pay cash and receive cash
Name, building, employee etc….
Give cash Sub function
Name, age, address etc…..
Name, age, address etc….
Name ,age ,address etc…..
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)
Service boy and maintainer associated with the coffee machine
Coffee machine has a relationship : (aggregation)
Now You people can easily draw it.
koi to final solution upload ker do...plzz