retagged by
842 views
1 votes
1 votes

retagged by

2 Answers

1 votes
1 votes

Clearly, 2 is not a Dead state as on the input b, it will transit to State 1 (from which Final State,3 can be reached) not to State 2 itself.

And for the second part of the question, the Regular Expression for the given DFA would be ;

(b (a)* b)* a ( (a+b) a* b (b (a)* b)* a )*.

U can follow up with the DFA to verify the Regular Expression.

edited by
–1 votes
–1 votes
firstly its not a dead state because you can reach the final state from expression 2 secondly to solve these questions its easier to just create an nfa if you understand the dfa i think the regular expression would be (a+b)*a