Object-oriented analysis and design-timing diagram

"Software Engineering and Practice" Experimental Report

date

2020/12/3

Topic: Object-Oriented Analysis and Design-Timing Diagram

Name

 

student ID

 

lab environment:

Computer with Microsoft Visio software installed

Experiment content and completion status:

1. Please write your computer title here

2. Carry out experiments carefully according to the following requirements and record all experimental use cases.

 

Purpose

    1. Familiar with the functions and components of UML sequence diagrams

    2. Understand the semantics of time series

    3. Learn to conceive timing diagrams

    4. Master the drawing method of timing diagram

 

Experiment content:

Task 1: Analyze the user management module of the library management system, and draw a sequence diagram

Sequence diagram is also called sequence diagram, used to describe the dynamic interaction relationship between objects, focus on reflecting the time sequence of message transmission between objects, and explain the interaction process between objects.

The sequence diagram is mainly composed of four elements: object, lifeline, activation period, and message.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Task two conceive each sequence diagram of the online bookstore, and draw the sequence diagram

For the description of the business functions of the online bookstore, please refer to Task 2 of Experiment 4.

  Analysis process:

(1) Sequence diagram of querying and browsing book information

(2) User login sequence diagram

(3) Timing diagram of books ordered by customers

(4) Sequence diagram of book management

(5) Sequence diagram of order processing

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 Problems and solutions:

 

The two experiments this time are relatively simple and easy to analyze, but the process is cumbersome and the details need more attention.

problem:

    The use of arrows is: message, or message (call), message (return) is not very clear.

solve:

   Discuss, analyze and solve with classmates.

Teacher comments and scores:

 

           

 

Guess you like

Origin blog.csdn.net/weixin_48450741/article/details/112463924