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.