Software Engineering - Module6 Exercises (Sequence Diagrams and Design Code)
Software Engineering - Module6 Exercises (Sequence Diagrams and Design Code)
M8 Software Engineering
Activities Availability date Due date
Module 6 10/05/2024 24/05/2024
Module 6 Assignments
Activity 1:
A: Lifeline
B: Interaction Message
C: Participant
D: Activation bar
Element Name
1 C
Activity 2:
Let’s consider an online bookstore, as described by the following sequence diagram. You have to
choose the answer (I-IV) that shows the right time ordering of the steps A-F, according to the
diagram:
I. C, A, F, E, D, B
II. C, A, B, F, E, D
III. A, B, C, D, E, F
IV. A, C, B, D, E, F
Activity 3:
Which of the following are good reasons to make a sequence diagram before starting to code?
Activity 4:
Please study the class and sequence diagrams, and the Python code below, that describe the design
using a strategy pattern for the rock-scissors-paper game.