Thursday, May 2, 2019

Differentiate Between Good State Graph and Bad State Graph.

S.No

               Good State Graph

                  Bad State Graph

1)

A state graph is said to be good , when every state , input , transition and output is specified clearly and understandable.

A state graph is said to be bad , when every state , input , transition and output is not specified clearly and difficult to understand.

2)

In good state graph the sequence of inputs is specified for every state in order to perform some action and that will help the system to get back to the initial state.

In bad state graph , there is no sequence of inputs specified , and this result to be the incorrect output.

3)

It has exactly one transition one specified for every state and input combination so that the transition bugs may not occur

There might be either none or more than one transition specified for every state input combination , and this causes the transition bugs to take place.

4)

Here only one output action is specified for every transition because of single output gives best result rather than different outputs.

Here there might be none or more than output action specified for every transition that results to an inappropriate state graph.  

5)

In good state graph , the bugs are less and easy to identify.

In bad state graphs the bugs are more and difficult to identify.

 

No comments:

Post a Comment