Question

In: Computer Science

: In the context of state diagrams in system design, describe what is an event, state,...

: In the context of state diagrams in system design, describe what is an event, state, transition and conditions?

Solutions

Expert Solution

A state diagram generally shows the state or behaviour of an object in accordance with some particular actions or we can say external stimuli.

We can visualize it as a journey of an object where it goes from one square box to another square box due to some actions which take place and finally reach the final square box where it reaches its ultimate goal.

These square boxes can be said to be state of the object or State in state diagrams. We have an Initial State and a Final State. Different diagrammatical symbols are also used for the same.

Now as we go from one state to another state in order to reach our ultimate goal, we do some transitions. These are label by an arrow symbols where the pointer points to which next state object will transit to. These are termed as Transitions.

Events are the happening that makes a transition takes place. Taking a small example of placing an order, suppose you need to make a payment and it is asking whether it will be a chash or a card . So this is an event which is taking place which will take you to another state as soon as you choose either of the given choices.

Actions are the result of events, usually written above the (Transition arrow). Following the above small example used in Events, if we say we chose the card payment, the arrow will show something like card payment confirmed or payment through card requested. These are termed as actions .

Condition can be explained as a dependency of state and action. Taking example of wompus world(A game where you move up down left right on square saving your self from dangers), the if present at square 1 and you choose to move up then this is termed as Condition which lead you to square above square 1. Conditions are the situations which an object faces while being in those states.

Hope I was able to explain what was needed in a very simple terms. Happy learning.


Related Solutions

Draw Data Flow Diagrams for the following system. Starting with a context diagram, draw as many...
Draw Data Flow Diagrams for the following system. Starting with a context diagram, draw as many nested DFDs as you consider necessary to represent all of the details of the system described in the following narrative. Context diagram, Level-0, and Level 1 diagrams are required. You may choose to decompose to level-2, level-3, etc., if you think it’s necessary or if you would like to challenge yourself. Urban Life Club (ULC) is an innovative young firm that sells memberships to...
In the context of an event management, please explain what the 5W+H model is and indicate...
In the context of an event management, please explain what the 5W+H model is and indicate 5 reasons why it should be used.
State the hypotheses. Describe a Type I and Type II error in the context of the...
State the hypotheses. Describe a Type I and Type II error in the context of the problem and a consequence of each. Determine which type is most serious. State whether alpha should be set high or low (based on whether or not you feel a Type I error is the most serious or not). The state of Georgia is considering spending $350 million on a computerized mathematics curriculum that for grades 3 – 10. They pilot the program with 250...
In operating system; ‘What happens in a context switch?
In operating system; ‘What happens in a context switch?
Systems Analysis and Design Create a Context Diagram for a purchasing system. Create this first level...
Systems Analysis and Design Create a Context Diagram for a purchasing system. Create this first level of a DFD for this system. Help is much appreciated. Thank you..
1. The Context Diagram is one of the first diagrams to be generated in an SDLC....
1. The Context Diagram is one of the first diagrams to be generated in an SDLC.       If the External Entities are not correctly identified when developing the Context Diagram,       explain the effect on the Event Table and the Use Case Diagram.      Explain also how the Context Diagram and Event Table could be tested to ensure accuracy 2. Subject is System Analysis and Design
Show me a concept map on System Modeling and architectural design,illustrating the essential perspective of context,...
Show me a concept map on System Modeling and architectural design,illustrating the essential perspective of context, interaction, structure, and behavior modeling. Label each component
Describe a normative event and a idiosyncratic event. What are some normative events that typically occur...
Describe a normative event and a idiosyncratic event. What are some normative events that typically occur in young adulthood? How might a idiosyncratic event shape /impact the life of young adult? Your response should be 5 paragraphs in length. Be mindful of using proper grammar and spelling. Please be specific in your example.
Suppose you are on a consulting team to design a voting system for your state in...
Suppose you are on a consulting team to design a voting system for your state in which people can vote online. What are some important design considerations? Discuss some pros and cons of such a system. Overall, do you think it is a good idea?
Describe the key functions of the US health system, and analyze them within the context of...
Describe the key functions of the US health system, and analyze them within the context of open systems theory.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT