Q3. Happy Hour Message Draw a sequence diagram for the HappyHourMessage scenario in the figure 1 below. Draw only the first five messages exchanged. Scenario name HappyHourMessage Participating actor instances bob, alice: BarFlies john: Friend Flow of events 1. Bob and Alice are sitting in their favorite pub and it’s happy hour. They want to invite their common friend John who likes cocktails and didn’t know about the newly scheduled happy hour. Alice takes out her “mobile phone” and activates the “SMS” function. 2. Alice enters John’s cell phone number and writes the message about the happy hour into the “SMS text field”. She sends the message and waits for John’s answer. 3. John, who is still at work, is alerted by a sound of his cell phone that a new “SMS” has arrived. He reads the lines from Alice and answers that he will come immediately. He quits working and leaves the office. 4. Alice receives John’s answer at her “mobile phone”. Figure 1
Q3. Happy Hour Message
Draw a sequence diagram for the HappyHourMessage scenario in the figure 1 below. Draw only
the first five messages exchanged.
Scenario name HappyHourMessage
Participating actor
instances
bob, alice: BarFlies
john: Friend
Flow of events 1. Bob and Alice are sitting in their favorite pub and
it’s happy hour.
They want to invite their common friend John
who likes cocktails and didn’t know about the
newly scheduled happy hour. Alice takes out her
“mobile phone” and activates the “SMS”
function.
2. Alice enters John’s cell phone number and
writes the message about the happy hour into
the “SMS text field”. She sends the message
and waits for John’s answer.
3. John, who is still at work, is alerted by a sound
of his cell phone that a new “SMS” has arrived.
He reads the lines from Alice and answers that
he will come immediately. He quits working and
leaves the office.
4. Alice receives John’s answer at her “mobile
phone”.
Figure 1
Sequence diagram
The given sequence of events are represented in the sequence diagram
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images