1.

If we have more than one accepting states or an accepting state with an outdegree, which of the following actions will be taken?(a) addition of new state(b) removal of a state(c) make the newly added state as final(d) more than one option is correctThis question was posed to me during an interview.Question is from Conversion by Eliminating states topic in section Regular Expressions and Languages of Automata Theory

Answer»

Correct choice is (d) more than one option is correct

Best explanation: If there is more than one ACCEPTING STATE or if the single accepting state as an out degree , ADD a new accepting state, make all other states non accepting, and hold an e-transitions from each FORMER accepting state to the new accepting state.



Discussion

No Comment Found

Related InterviewSolutions