Presentation is loading. Please wait.

Presentation is loading. Please wait.

State Transition Diagram for A System

Similar presentations


Presentation on theme: "State Transition Diagram for A System"— Presentation transcript:

1 State Transition Diagram for A System
8/24/2018 Discrete Structure 1

2 State Transition Diagram
State transition diagram introduction Draw transition diagram and use case diagram for the system List questions 8/24/2018 Discrete Structure 2

3 Elements in a State Transition Diagram
a mode of behavior last for a period Event Causes the transition from a state to another state Action The behavior that the system reacts to an event Condition A condition for an action to an event Whether a behavior is a state or an event or an action depends on the real systems. 2018/8/24 Software Engineering 3

4 State, Event, Action, Condition
Event[Condition]/Action State 2

5 Event, Action User System Operate on the system (Event)
Respond to the user’s operation (Action) When the response is given under certain conditions, the conditions should be added.

6 An Example - Login Teacher & TA main function page Login Page
“Login” clicked [correct login & Teacher & TA] /Display Secretary main function page “Login” clicked [incorrect password & user name] /give warning Login Page “Login” clicked [correct login & TA] /Display Secretary main function page “Login” clicked [correct login & secretary] /Display Secretary main function page “Login” clicked [correct login & teacher ] /Display Secretary main function page Secretary main function page TA main function page Teacher main function page

7 An Example - Mark Time Table
Teacher & TA main function page “Mark time table” pressed /Display time table Time table page Secretary main function page “Finished” pressed/Display time table


Download ppt "State Transition Diagram for A System"

Similar presentations


Ads by Google