[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-655571-105":59,"doc-detail-655571-en":130,"doc-similar-655571":156},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","csc-340-week-10-tutorial-uml-use-cases-and-sequence-diagrams","CSC 340 - Week 10 Tutorial UML Use Cases and Sequence Diagrams","","This tutorial document provides a comprehensive overview of UML (Unified Modeling Language) use case and sequence diagrams within the context of a software engineering course. Using an online shopping system as a case study, it details the definitions and interactions of actors, use cases, and system functions. The content explains how to visualize behavior patterns for customers, sales employees, and warehouse staff, and provides step-by-step guidance on creating sequence diagrams to map out the interactions between these objects during specific tasks such as item management and order processing. The materials serve as a foundational guide for students to understand object-oriented analysis and design methodologies, offering clear structural examples and functional breakdowns necessary for mapping complex system requirements into standardized visual models for effective software development and communication.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/csc-340-week-10-tutorial-uml-use-cases-and-sequence-diagrams/655571/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/csc-340-week-10-tutorial-uml-use-cases-and-sequence-diagrams/655571.png","ImageObject",300,407,{"name":92,"@type":93},"Supernature","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-30","2026-10-25",true,{"@type":102,"interactionType":103,"userInteractionCount":34},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What defines an actor in a UML Use Case Diagram?","Question",{"text":112,"@type":113},"An actor is any entity that interacts with the system, which can be a person, a specific role played by different people, or an external system.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What is the primary purpose of a UML Sequence Diagram?",{"text":117,"@type":113},"Sequence diagrams illustrate the step-by-step interactions within a use case, showing which objects are involved and how they participate in the system's functions.",{"name":119,"@type":110,"acceptedAnswer":120},"How are use cases described in this document?",{"text":121,"@type":113},"A use case is defined as a pattern of behavior that a system is required to exhibit, consisting of a sequence of related actions performed by an actor and the system through a dialogue.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},655571,1792962677,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":34,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":81,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":129,"read_time":39,"preview_page_count":81,"preview_urls":143},962093270004,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","CSC 340 – Week 10 Tutorial UML Use Cases and Sequence Diagrams  \n1. Case study: Online Shopping  \nParagraphs Corporation sells books and CDs using through online shopping. The customer adds items to her shopping cart. She may remove items or go to the check-out to make her purchases at any time. The customer reviews her purchases, chooses a payment method and pays. A sales employee at Paragraphs Corporation gets the order and purchase confirmation from the system, and sends the electronic order to the warehouse. The warehouse employee updates the order status. The customer may check the order status.  \n2. UML Use Case Diagram  \nEach Use Case is:  \n∙ a pattern of behavior that the new system is required to exhibit  \n∙ a sequence of related actions performed by an actor and the system via a dialogue. An actor is:  \n∙ anything that needs to interact with the system:  \no a person  \no a role that different people may play  \no another (external) system.  \nA Use Case Diagram is a visual representation of actors together with use cases.  \nCustomer  \n**  \nWarehouse Employee  \nSalesperson  \n| Online Shopping System\u003Cbr>Add item to cart |  |  |  |\n| --- | --- | --- | --- |\n| *\u003Cbr>Remove item from cart\u003Cbr>*\u003Cbr>Review contents of cart | Purchase contents of cart | Update order status Notify warehouse\u003Cbr>about order |  |\n|  |  | «uses» | Receive order\u003Cbr>Verify payment |\n\n3. UML Sequence Charts  \nSequence diagrams show step-by-step what’s involved in a use case  \n∙ Which objects are relevant to the use case  \n∙ How those objects participate in the function  \nCustomer Salesperson Warehouse Employee  \n*Add item  \n[cartContents > 0] *Remove item  \nDisplay cart  \n[cartContents > 0] Purchase items in cart  \nReceive order  \nVerify payment  \n[payment received] Notify about order  \nUpdate order  \nGet order status","cbCaimv5YjuM3DCk","https://ap.wps.com/l/cbCaimv5YjuM3DCk","pdf",34308,"English","# Case Study: Online Shopping\n# UML Use Case Diagram\n# UML Sequence Charts","[{\"question\":\"What defines an actor in a UML Use Case Diagram?\",\"answer\":\"An actor is any entity that interacts with the system, which can be a person, a specific role played by different people, or an external system.\"},{\"question\":\"What is the primary purpose of a UML Sequence Diagram?\",\"answer\":\"Sequence diagrams illustrate the step-by-step interactions within a use case, showing which objects are involved and how they participate in the system's functions.\"},{\"question\":\"How are use cases described in this document?\",\"answer\":\"A use case is defined as a pattern of behavior that a system is required to exhibit, consisting of a sequence of related actions performed by an actor and the system through a dialogue.\"}]","CSC 340 - Week 10 Tutorial UML Use Cases and Sequence Diagrams | PDF",[144,148,152],{"page_no":8,"url":145,"width":146,"height":147},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/5a95784f7649452db3f7196e00cb412d.webp",983,1272,{"page_no":14,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/9d0ef13859d7705e8b09678e40643234.webp",982,1270,{"page_no":81,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/5c845b1e1f9d52680ca33c16f68538d6.webp",981,1269,{"list":157,"token":66},[158,165,171,177,183,189,195,202,208,214],{"doc_id":159,"doc_title":160,"file_type":137,"home_preview_img_url":161,"slug":162,"view_count":163,"category_name":30,"create_tm":164},655910,"Use Case Diagram Tutorial - Guide with Examples","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975293539/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796158979&Signature=nYScaAgMwWPNPl9wXlp899Fhgso%3D","use-case-diagram-tutorial-guide-with-examples",11,1792964726,{"doc_id":166,"doc_title":167,"file_type":137,"home_preview_img_url":168,"slug":169,"view_count":29,"category_name":30,"create_tm":170},655648,"Object-Oriented Software Engineering Practical Software Development using UML and Java - Chapter 8 - Modelling Interactions and Behaviour","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975286609/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796158979&Signature=Fyb%2FFt101FuQXZZe55QgiiohHHQ%3D","object-oriented-software-engineering-practical-software-development-using-uml-and-java-chapter-8-modelling-interactions-and-behaviour",1792963009,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":44,"category_name":30,"create_tm":176},655563,"Sequence diagrams - Part 1 - Creating sequence diagrams for modelled system","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975285315/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796158979&Signature=XbSm7NLR95ibVo6UhwtYUidOlmI%3D","sequence-diagrams-part-1-creating-sequence-diagrams-for-modelled-system",1792962644,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":44,"category_name":30,"create_tm":182},655682,"Chap56GL - eng(1)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975287376/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796158979&Signature=J2Zlv1VTwyK2QetrhPGoZvMzKA0%3D","chap56gl-eng1",1792963195,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":44,"category_name":30,"create_tm":188},655604,"UML-ATM - Class Diagram, Use Case, Sequence, Communication, State, Activity","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974775471/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796158979&Signature=IhHzfV9hqLjNrkiFcpyx%2Bbrz6VE%3D","uml-atm-class-diagram-use-case-sequence-communication-state-activity",1792962853,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":39,"category_name":30,"create_tm":194},655558,"Sequence Diagram Tutorial - Chapter 4 - Use Cases and Scenarios - UML Sequence Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975285279/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796158979&Signature=pAThujl5VP2YQiSExnCjLq0wJyQ%3D","sequence-diagram-tutorial-chapter-4-use-cases-and-scenarios-uml-sequence-diagrams",1792962629,{"doc_id":196,"doc_title":197,"file_type":137,"home_preview_img_url":198,"slug":199,"view_count":200,"category_name":30,"create_tm":201},655886,"Umbrello UML Modeller Handbook","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975292897/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796158979&Signature=JB%2Bj38acngPTDRTlZ98ae4kc56o%3D","umbrello-uml-modeller-handbook",12,1792964560,{"doc_id":203,"doc_title":204,"file_type":137,"home_preview_img_url":205,"slug":206,"view_count":44,"category_name":30,"create_tm":207},655788,"Practical UML - A Hands-On Introduction for Developers - Tutorial","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974777074/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796158979&Signature=RO%2F8BTWpN%2FhC0i6xui8%2BpjrtlWM%3D","practical-uml-a-hands-on-introduction-for-developers-tutorial",1792963781,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":52,"category_name":30,"create_tm":213},655939,"UML in Practice - The Art of Modeling Software Systems Demonstrated through Worked Examples and Solutions - Chapter 1 - Aims of the chapter","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974780609/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796158979&Signature=pMrFIzbOW1DCBVrmd1vEI%2BOfcK8%3D","uml-in-practice-the-art-of-modeling-software-systems-demonstrated-through-worked-examples-and-solutions-chapter-1-aims-of-the-chapter",1792965014,{"doc_id":215,"doc_title":216,"file_type":137,"home_preview_img_url":217,"slug":218,"view_count":52,"category_name":30,"create_tm":219},655609,"Introduction to UML - Use Case Diagram - Types and Notations","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975286118/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796158979&Signature=6%2FvHRf%2BKYy7Pn1dt1ViB4QVfwis%3D","introduction-to-uml-use-case-diagram-types-and-notations",1792962867]