Question

In: Computer Science

In an Inclusion relationship, including a use case is similar to calling another use case, method,...

In an Inclusion relationship, including a use case is similar to calling another use case, method, function, or a process.

Draw a use case model. In a pantry area a student warms up a cup of coffee in a microwave oven for 55 seconds. (Hint: Use Include relationship between the use cases)

  1. Identify actors and use cases
  2. Give all steps from opening the oven until the beep of the oven
  3. Draw a complete use case diagram using UML notations.

Solutions

Expert Solution

1. Include relationship: This is the relationship in use case diagram where the particular use case is included and should be executed for completing the current use case.

2. Actors: The required model will have actor STUDENT

3. Use case: The use case lists to be modelled in the diagram is as below:

A. Get cup of coffee

B. Open Microwave

C. Put cup in microwave

D. Set time and wait

E. Beep of microwave

4. Steps in the use cases:

A. Student will get a cup of coffee

B. Student will Open Microwave

C. When A and B are dones, student will put cup in the microwave

D. When Cup is in the microwave, Student will set time and wait for that time span

E. When the time is over, microwave will beep.

5. Use case diagram:


Related Solutions

Method calling in c# I need to write methods for calling the min and max numbers...
Method calling in c# I need to write methods for calling the min and max numbers using this code; Console.WriteLine("Calling highest method."); Console.WriteLine("Highest number is: {0}", highest(3)); Console.WriteLine("Calling lowest method."); Console.WriteLine("Lowest number is: {0}", lowest(3));
Aircraft liability coverage is similar to automobile liability except for the inclusion of medical payments coverage....
Aircraft liability coverage is similar to automobile liability except for the inclusion of medical payments coverage. admitted liability coverage. world wide coverage. the absence of an employee exclusion.
Write a method that returns the result when the calling object is multiplied by a scalar...
Write a method that returns the result when the calling object is multiplied by a scalar value. For example, the PolyTerm 2.4x^3 multiplied by -1.2 should return the PolyTerm object representing -2.88x^3. Language: Java. Method name be like: scalarMultiply(double) Some Outputs: Test 1: Coefficient =1, Exponent = 1 scalarMultiply(1.2).coefficient return 1.2; scalarMultiply(1.2).exponent returns 1. Test 2: Coefficient =2.4, Exponent = 3 scalarMultiply(-1.2).coefficient returns -2.88 scalarMultiply(-1.2).exponent return 3 Test 3: Coefficient =-1.5 Exponent = 0 scalarMultiply(0).coefficient returns 0 scalarMultiply(0).exponent returns 3...
L4 (0.4 marks) Code a calling and called method that tries to demonstrate that a called...
L4 (0.4 marks) Code a calling and called method that tries to demonstrate that a called method cannot remember how many times it has been called if it’s limited to only using its formal parameters and local variables. For technical reasons this cannot be demonstrated. You will discover why in your attempt. Now use a class-level variable to do the job properly.
The company exchanged an asset for a similar asset. The exchange was with another company in...
The company exchanged an asset for a similar asset. The exchange was with another company in the same line of business. The old asset had a cost of $1,000 and accumulated depreciation of $850. The old asset had a market value of $400 on the date of the exchange. Make the journal entry necessary to record the exchange assuming that the company received the new machine and no cash. [Hint: The total market value of assets received (cash plus new...
another method of multiplexing involves the use of tri-state devices.   First of all, how are multiplexers...
another method of multiplexing involves the use of tri-state devices.   First of all, how are multiplexers used and second, what are tri-state devices and why do we really care about tri-state device (yes we most emphatically DO CARE.. they are very important).
1. Coding Assignment the program will start the menu calling the method extractLargestAndSmallestYourName(), which is specified...
1. Coding Assignment the program will start the menu calling the method extractLargestAndSmallestYourName(), which is specified as below.  The method extractLargestAndSmallestYourName() will receive 2 array of integers as arguments, which are denoted as array number 1 and array number 2.  The method will then search for the largest value and the smallest value. The search will also track from which array(s) these values can be found; and  The information will be return an array, which has the...
1) What's the result of calling method blitz passing strings "Aquamarine" as the first argument and...
1) What's the result of calling method blitz passing strings "Aquamarine" as the first argument and "Heliotrope" as the second argument? static int blitz(String v, String w) { if (v.length() != w.length()) return 0; int c = 0; for (int i = 0; i < v.length(); i++) if (v.charAt(i) == w.charAt(i)) c++; return c; } a)0 b)1 c)2 d) 3 2)What is NOT an advantage of dynamic arrays compared to static arrays? a)new elements can be added b)elements can be...
How are the demand and supply curves similar to one​ another? How are the demand and...
How are the demand and supply curves similar to one​ another? How are the demand and supply curves​ different?
Please do not write in handwriting and The answer is not similar to another person. (Finance...
Please do not write in handwriting and The answer is not similar to another person. (Finance 101) DISCUSSION 1. You are planning to take a spring break trip to Canada your senior year. The trip is exactly two years away, but you want to be prepared and have enough money when the time comes. Explain how you would determine the amount of money you will have to save in order to pay for the trip. 2. Identify the steps involved...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT