1.

Which of the following is NOT the set of regular expression R = (ab + abb)* bbab?(a) ababbbbab(b) abbbab(c) ababbabbbab(d) ababababThe question was posed to me in exam.This key question is from Regular Expression topic in section Compiler Introduction of Compiler

Answer»

Correct answer is (d) abababab

The best explanation: abababab doesn’t END with bbab whereas the other 3 options SATISFY the GIVEN regular EXPRESSION.



Discussion

No Comment Found

Related InterviewSolutions