[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-655764-105":59,"doc-detail-655764-en":130},{"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","tutorial-n04-uml-diagrams-dynamic-view","Tutorial N°04 - UML diagrams (dynamic view)","","Tutorial N°04 for software engineering focuses on UML dynamic modeling through multiple exercises. It develops textual and diagram-based use cases, requiring detailed sequence diagrams and communication diagrams for identified use cases such as managing basic and composite parts, library borrowing, and ATM operations. Additional tasks include creating an activity diagram for project financing and a state diagram for objects related to books and members, incorporating rules for loans, availability, validation, suspensions, and responses from involved parties.",{"@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/tutorial-n04-uml-diagrams-dynamic-view/655764/",{"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/tutorial-n04-uml-diagrams-dynamic-view/655764.png","ImageObject",300,407,{"name":92,"@type":93},"naya.afterrain","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-10-30","2026-10-25",true,{"@type":102,"interactionType":103,"userInteractionCount":29},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What diagrams are required for the use cases in Exercise 1?","Question",{"text":112,"@type":113},"Provide textual use cases and draw detailed sequence diagrams for the identified use cases, then build the corresponding communication diagrams.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does Exercise 2 model the scenario for borrowing a book?",{"text":117,"@type":113},"It checks the member’s eligibility and the book’s availability; if conditions are satisfied, it creates a loan with dates, marks the book unavailable, and updates the member’s borrowed count, otherwise the request is refused. Then draw the sequence diagram and the communication diagram.",{"name":119,"@type":110,"acceptedAnswer":120},"Which UML diagrams correspond to Exercises 3, 4, and 5?",{"text":121,"@type":113},"Exercise 3 requires an activity diagram for ATM operations, Exercise 4 requires an activity diagram for financing and project launch, and Exercise 5 requires state diagrams for objects in the Book class and the Member class.","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},655764,1793073080,{"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":29,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":29,"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":143,"read_time":144},962094248482,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","University of Mila Institute of Mathematics and Computer Science Computer Science-Semester 5  \nSoftware engineering Tutorial Series N°04  \n1  \nTutorial N°04: UML diagrams (dynamic view)  \nI. Exercise1 :  \nA company manufactures so-called \"basic parts\" which exist in different forms (cubic, spherical, conical, etc.) and are made of different materials (wood, metal, plastic, etc.) . etc.) . For a basic type of part, we know its name, its dimensions and its reference. For each material, we know its name, its price per kilo and its mass. The company also manufactures parts known as \"composite parts\" obtained by assembling basic parts.  \nWe want to create a software for managing its references for this company. This software must allow the user of the software to be able to calculate the price of a base part, calculate the price of a composite part, create a new composite part, and delete a base part.  \nUser  \nSystem Use Cases  \n1. Describe use cases textual and/or in the form of a simple sequence diagram  \n2. The following classes can be identified: Basic part, Composite part, Material, User  \n- Draw detailed sequence diagrams for the use cases identified in this exercise  \n3. Build the corresponding communication diagram.  \nII. Exercise 2 :  \nWe want to model a library management system. To borrow a book, we have the following scenario:  \n- The member goes to the counter and the librarian enters the feature to borrow a book from the app.  \n- First, it is necessary to check whether the member has the right to borrow books (valid card, number of books already borrowed does not exceed a set threshold, etc.) . etc.) .  \n- In addition, you have to check if the book is available.  \n- If all goes well, we create a new loan with the loan date and the return date, associated with the member and the chosen book, we make the book unavailable, and we increase the number of books borrowed by the member.  \n- Loan request refused, otherwise.  \n1- Diagram the sequence of this Use Case Scenario Borrow Book.  \n2- Build the corresponding communication diagram  \nIII. Exercice3 :  \nThe customer inserts his card, the validity of which is immediately checked. They are then asked to enter the card code. After three unsuccessful attempts, the card is swallowed. Alternatively, the customer can indicate the amount they wish to withdraw, the balance of their bank account is then consulted to ensure that the withdrawal is possible. In the event of an insufficient balance, the customer is informed and can then enter a lower amount. If the balance in the account is sufficient, the ATM will return the card and issue the tickets with a receipt.  \n1. Describe the operation of this ATM via an activity diagram.  \nIV. Exercise 4 :  \nWhen a distributor has a project to develop or extend its equipment, it must obtain the approval of the head office, which translates into its participation in the financing of the operation. Once established, the project file is submitted simultaneously to the bank and the head office, which responds very quickly. If the head office is unfavourable, the project is abandoned and the bank is notified. If the head office agrees to co-finance the project, we are waiting for the bank's response before deciding whether to continue or re-examine the file. When the two answers are positive, a final financing file is drawn up and the project is launched.  \n1- Establish an activity diagram corresponding to the financing and launch process of a project.  \nV. Exercise 5 :  \nIn this exercise, we take over the management of the library. More specifically to the life of the objects of the Book class and those of the Adept class. We remind you of some library management rules:  \n-A member can borrow books.  \n-He cannot have a maximum of five outstanding loans.  \n-If he delays in returning a book, he is suspended.  \n1-Plot the state diagram of an object in the Book class and the state diagram of an object in the Member class.","cbCaik59C9xwOxjQ","https://ap.wps.com/l/cbCaik59C9xwOxjQ","pdf",561456,"English","# Tutorial N°04: UML diagrams (dynamic view)\n## Exercise 1\n## Exercise 2\n## Exercise 3\n## Exercise 4\n## Exercise 5","[{\"question\":\"What diagrams are required for the use cases in Exercise 1?\",\"answer\":\"Provide textual use cases and draw detailed sequence diagrams for the identified use cases, then build the corresponding communication diagrams.\"},{\"question\":\"How does Exercise 2 model the scenario for borrowing a book?\",\"answer\":\"It checks the member’s eligibility and the book’s availability; if conditions are satisfied, it creates a loan with dates, marks the book unavailable, and updates the member’s borrowed count, otherwise the request is refused. Then draw the sequence diagram and the communication diagram.\"},{\"question\":\"Which UML diagrams correspond to Exercises 3, 4, and 5?\",\"answer\":\"Exercise 3 requires an activity diagram for ATM operations, Exercise 4 requires an activity diagram for financing and project launch, and Exercise 5 requires state diagrams for objects in the Book class and the Member class.\"}]","Tutorial N°04 - UML diagrams (dynamic view) | PDF",1792963628,15]