1.

If P, Q, R are three regular expressions and if P does not contain a then the equation R = R + RP has a unique solution given by?(a) R = QP*(b) R = P*Q(c) R = RP(d) None of the mentionedI had been asked this question in examination.Question is taken from Obtaining the regular Expression from the Finite automata in portion Finite Automata and Regular Expression of Compiler

Answer»

Correct choice is (a) R = QP*

Explanation: It is an IMPORTANT law primarily USED in CONVERSION.



Discussion

No Comment Found

Related InterviewSolutions