1.

Let R1 and R2 be regular sets defined over alphabet ∑ then?(a) R1 UNION R2 is regular(b) R1 INTERSECTION R2 is regular(c) ∑ INTERSECTION R2 IS NOT REGULAR(d) R2* IS NOT REGULARI got this question in semester exam.The question is from Regular Grammar in section Contextfree Grammar and Syntax Analysis of Compiler

Answer»

Right option is (a) R1 UNION R2 is regular

The EXPLANATION is: Union of 2 regular LANGUAGES is regular.



Discussion

No Comment Found

Related InterviewSolutions