Assignment No. 1 (Graded) has been uploaded on VULMS and you are required to submit it on or before Tuesday, 24 November 2015.

Assignment No. 01

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.


You are required to develop a set of Use cases for the system discussed above. You will have to make a Use case diagram about the manner in which a user interacts with this system.




HINT: The importance of this task lies on the syntax and semantics of the UML use case diagram. Your diagram should contain examples of includes>> and extends>> relations. An example of generalization would be nice. You may add some additional requirements associated with core functionalities for good solution.




NOTE: 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 24 th Nov 2015.

Views: 9928


Replies to This Discussion

Dear Students Don’t wait for solution post your problems here and discuss ... after discussion a perfect solution will come in a result. So, Start it now, replies here give your comments according to your knowledge and understandings....

Design Guidelines for Coffee Machine

Walk-up-and-use-systems such as vending and self-service machines request special attention concerning an easy to use and self-explanatory user interface. 
usability, user experience, vending machine, public space, case study, walk-up-and-use-system

Plan rules for coffee machines


The necessities that were recognized for easy to understand   coffee machines. All in all, we can recognize two sorts of prerequisites:


(a) Those which address the coffee machine and its client interface,


(b) Those which incorporate social and physical logical variables.


If it's not too much trouble take note of that the rules recorded underneath don't claim to be comprehensive, yet rather speak to the consequences of the study displayed in this paper.


1.            Consistency


Marks and wording utilized for control components, item names and depiction and so on the machine surface (e.g. control components) ought to coordinate the ones utilized on the presentation.


2.            Feedback


The coffee machine ought to dependably show its framework status (prepared to utilize – refreshment chose – get ready drink (upheld e.g. by an advancement bar) – refreshment is prepared).


Other than a visual input, basic framework status ought to likewise be flagged acoustically. This is particularly imperative for happening mistakes and when the requesting procedure is done.


Criticism and mistake messages ought to talk the users` dialect and give data about what to do (e.g. refill   beans).


The cost for every item ought to be appeared before the begin of the requesting procedure (e.g. by pushing a catch the prize of the chose refreshment is appeared on the showcase).


The status of every item (in stock, out of stock) ought to be plainly noticeable and recognizable.


3.            Ease-of-utilization


Every item ought to be spoken to by one control component and be accessible with a solitary snap.


Customization of the item (e.g. measure of sugar) ought to be permitted whenever of the requesting procedure.


The measure of additional sugar and drain ought to be exhibited on a scale that meets the users` mental models (e.g. table spoons of sugar, drops of concentrated milk).


4.            Error resistance


The drink ought to just be served when containers are in stock (if the machine is out of mugs an important blunder message ought to be shown).


The client ought to have the alternative to cross out the request handle or fix his activity (e.g. chosen measure of sugar) inside of a brief period (i.e. a few seconds) of time subsequent to starting the activity.


5.            Suitability for the assignment


All control components ought to be unmistakable all things considered at first look.


Pushing a catch to choose a particular item and begin the requesting procedure ought to be upheld with a satisfactory haptic input to affirm the accomplishment of the undertaking. In the event that there are a few choices for one item (e.g. diverse sizes) the agreeing control components ought to be assembled in a way that purchasers can without much of a stretch recognize related components (e.g. shading, structure, conformity).


Size, complexity and luminance of the presentation ought to be composed in a way that the data is effectively clear, even in a brilliant open space.


6.            Help and documentation


Data about the items and their fixings ought to be available for the purchaser (pivotal data for intolerances or sensitivities).


7.            Self-clarity


Catches for every item ought to be marked with simple content (e.g. the name of the item) and additionally a typical representation of the item (e.g. a little glass demonstrating a coffee).


The scope of items to browse ought to adjust to the accessible credit (e.g. at the point when 80 Cents are embedded, items for 80 pennies or less can be chosen). This could be shown with an edified catch, for instance.


Diverse items ought to be recognizable at first look (name, picture).


8.            Simplicity


There ought to be a coordinated relationship between control component and capacity, i.e. every item can be chosen pushing precisely one particular catch.


The general configuration of the data and yield components and also the paying


Instrument ought to be very much organized, requested and composed in an errand supporting manner.


Data showed on screen ought to be errand significant (e.g. the date may be pointless data, while the status of the framework e.g. prepared to take the consumers` request is pertinent for the assignment).


9.            Universal and adaptable configuration


The coffee machine ought to be composed in a way that matches the necessities of openness, i.e. all control components and the genuine drink ought to likewise be reachable from a wheelchair.


The coffee machine ought to be operable with one hand (e.g. at the point when the customer is gathered with a pack, books, and so on.).


The machine ought to be operable by all clients, in any case to their social and semantic foundation.


The client ought to have the capacity to adjust the drinks to his inclinations (e.g. Size, quality, sugar, milk).


The client ought to have the chance to utilize his own glass rather than the ones gave by the coffee machine.


10.          Hedonic quality


Every one of the five faculties ought to be tended to give an ideal ordeal:


Hearing: pounding   beans


Sight: unmistakable   beans


Touch: agreeable and warmth opposing glass, ideally not made of modest plastic


Smell: naturally blended, the kind of newly ground   beans


Taste: tasty, superb   


The visual configuration of the coffee machine ought to be tastefully engaging (e.g. shading, names).


Cost and nature of the ought to be in concordance.


The coffee machine ought to be situated at a suitable position


Enough space to line when essential


Effortlessly reachable

#include <iostream> #include <iomanip>                                                std;    main()                                                       {  money;  totalm = 0;  value = 0, valued = 0, valuen = 0, valueq = 0, valueb = 0;  c1=0, c2=0, c3=0, c4=0, c5=0, c6=0;  C1=0, C2=0, C3=0, C4=0, C5=0, C6=0;  item;          cout"======Welcome to TD'S Vending======"endl;       cout"    Depost Money                   "endl;       cout"    Enter n or N for Nickel        "endl;       cout"    Enter d or D for Dime          "endl;       cout"    Enter q or Q for Quarter       "endl;       cout"    Enter b or B for Dollar Bill   "endl;       cout"    Enter e to end the deposit     "endl;       cin>>money;       (money!='e' && money!='E')        {               (money=='n' || money=='N')           {                        valuen=0.05;                  totalm+=valuen;                         cout"nickel is deposited, the total money deposited is "totalmendl;                  cin>>money;               }               (money=='d' || money=='D')           {                        valued=0.10;                  totalm+=valued;                         cout"dime is deposited, the total money deposited is "totalmendl;                    cin>>money;               }               (money=='q' || money=='Q')           {                        valueq=0.25;                  totalm+=valueq;                         cout"quarter is deposited, the total money deposited is "totalmendl;                         cin>>money;               }               (money=='b' || money=='B')           {                        valueb=1.00;                  totalm+=valueb;                         cout"dollar is deposited, the total money deposited is "totalmendl;                  cin>>money;               }                                {                       cout"invalid entry, please try again"endl;                   cin>>money;               }       }       cout"=========Welcome to TD'S Vending========="endl;         cout"    Snickers     Goose     Condom        "endl;         cout"     $0.85       $2.00     $1.50         "endl;         cout"       C1          C2        C3          "endlendl;     cout"     Chips       Dutch      Mint         "endl;         cout"     $0.50       $1.00     $0.25         "endl;         cout"       C4          C5        C6          "endl;         cout"========================================="endl;         cout"Please enter item number"endl;  cin>>item;         (item==c1||C1)    {                S=0.85;                change=0;              (totalm>=S)             {                       cout"Snickers is purchased"endl;                     change=totalm-S;                        cout"Money deposited is"totalm"Your change is"changeendl;                         cout"Thank You"endl;                 }                                {               }                (item==c2||C2)    {                G=2.00;                 change=0;              (totalm>=G)             {                       cout"Goose is purchased"endl;                        change=totalm-G;                        cout"Money deposited is"totalm"Your change is"changeendl;                         cout"Thank You"endl;                 }                                {               }                        (item==c3||C3)    {                CO=1.50;                change=0;              (totalm>=CO)            {                       cout"Condom is purchased"endl;                       change=totalm-CO;                       cout"Money deposited is"totalm"Your change is"changeendl;                         cout"Thank You"endl;                 }                                {               }                        (item==c4||C4)    {                CH=0.50;                change=0;              (totalm>=CH)            {                       cout"Chips is purchased"endl;                        change=totalm-CH;                       cout"Money deposited is"totalm"Your change is"changeendl;                         cout"Thank You"endl;                 }                                {               }                        (item==c5||C5)    {                D=1.00;                 change=0;              (totalm>=D)             {                       cout"Dutch is purchased"endl;                        change=totalm-D;                        cout"Money deposited is"totalm"Your change is"changeendl;                         cout"Thank You"endl;                 }                                {               }                        (item==c6||C6)    {                M=0.25;                 change=0;              (totalm>=M)             {                       cout"Mint is purchased"endl;                         change=totalm-G;                        cout"Money deposited is"totalm"Your change is"changeendl;                         cout"Thank You"endl;                 }                                {               }                       }                       }                0;                    }                       }               }       }  }

ya kia???? 

assiggn ment main tou Use case set aur use case case diagram just mangi gae h 

ya  kiya  wahan  to  sirf  digram  banani the

Yes Digram banani hy ye just adea hy is sy ap bana skty hn

Bhi jaan is main bht error hai

No dout Idea acha h but i think u miss some thing like Student order plceing and interaction of IT expert with with machine some of most important point..........



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

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