In: Computer Science
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. 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: