1.

Which of the following is same as the given DFA?(a) (0+1)*001(0+1)*(b) 1*001(0+1)*(c) (01)*(0+0+1)(01)*(d) None of the mentionedI had been asked this question in final exam.The doubt is from DFA to Regular Expressions topic in division Regular Expressions and Languages of Automata Theory

Answer»

Right answer is (a) (0+1)*001(0+1)*

The best explanation: There needs to be 001 TOGETHER in the string as an ESSENTIAL substring. Thus, the other components can be ANYTHING, 0 or 1 or E.



Discussion

No Comment Found

Related InterviewSolutions