1.

The string (a)|((b)*(c)) is equivalent to ______________(a) Empty(b) abcabc(c) b*c|a(d) None of the mentionedThe question was asked during an online exam.Question is from Obtaining the regular Expression from the Finite automata in chapter Finite Automata and Regular Expression of Compiler

Answer»

The correct answer is (c) b*c|a

The EXPLANATION: Either b or a can lead FOLLOWED by c this expression can be ACHIEVED by C as WELL.



Discussion

No Comment Found

Related InterviewSolutions