Question: Elevator Call ( summon an elevator to this floor ) Sequence Diagram Create a sequence diagram for the following use case: Use Case 1 Process

Elevator Call (summon an elevator to this floor) Sequence Diagram
Create a sequence diagram for the following use case:
Use Case 1 Process car calls when elevator is idle on a different floor.
This is the case when the passenger presses the button that is on the wall near the
elevator doors (in the hallway) to summon an elevator to service this floor.
There are two scenarios for this use case: the passenger presses the up service button,
and the passenger presses the down service button.
Scenario 2.1 Car Call service the elevator is moving towards the same direction as
the passengers destination.
Scenario 2.2 Car Call service the elevator is moving towards the opposite direction as
the passengers destination.
When the call button is pushed the button is illuminated and a request is made to the
elevator controller. The elevator controller controls the elevator motor to move the
elevator to this floor. When the elevator arrives and is ready, the button is un-
illuminated, a bell dings, and the doors open.
Alarm Clock State Machine Diagram
Create a state machine diagram for a simple alarm clock that models the following
behaviors:
set: the user sets a time for the alarm to go off
arrive: the clock arrives at the time set for the alarm to ring
snooze: the user presses the snooze button
on: the user turns the alarm on
off: the user turns the alarm off
ring: the alarm rings

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!