183
社区成员




LAB 9 Object-oriented Modeling and Design with UML
Name: |
Zejing.fang |
MU ID: |
19105274 |
FZU ID: |
831901203 |
(i) List some actors that interact with this system. Explain the relevance of each actor. |
Your Answer:
Actor:Professional anchors,such as many celebrities and some big companies’ executives ,who need to supervise the content of merchants' live broadcast to comply with regulations, and also supervise the legality of merchants' goods sold Actor:Merchants,who apply for livestreaming permission from the administrator and sell items to customers on the livestreaming platform Actor:Customers,who are watching the live broadcast and buying the goods through the Live-streaming sale system.
|
(ii) Prepare a use case diagram for this system. |
Your Answer:
|
(iii) Prepare a normal scenario for each use case. (i.e. describe each use case in words) |
Your Answer: Register: anchors and customers need to register their accounts before using this system. Login: anchors and customer Login, including account and password; Exit: all of them can exit; Watch the live broadcast: Customers watch live broadcast, including live broadcast links and product links; Browse Products: Customers know some significant information, including prices, live links,expression,quality and so on; Consult Customer Service: Ask for store information; Purchase somthing: The decision of something to buy, including customer balance, product information; Open a living: Enables live streaming, including examing the quality of living shows; Show products: show the information of products , including price and so on; Shopping guide: provide customer with some assists about products ; Review the product: check the products , including price ,quality,expression, details about payment an so on; Review speech content: check the Living information, including the speeches and frames,something about authenticity.
|
(iv) Prepare sequence diagrams or activity diagrams for primary scenarios. By the way, each scenario can be described by a sequence diagram or an activity diagram, but both diagrams must be used in this question. |
Your Answer:
|
(v) Prepare a class diagram for this system. Explain which principles of object-oriented are applied in your design. |
Your Answer:
|
(vi) Prepare state diagrams for primary classes. |
Your Answer:
|
(vii) Write the skeleton code corresponding to the class diagram in C++, Java, Python, or C#. |
Your Answer:
|