1.

Regular expression for all strings starts with ab and ends with bba is.(a) aba*b*bba(b) ab(ab)*bba(c) ab(a+b)*bba(d) All of the mentionedThis question was addressed to me during a job interview.This interesting question is from Finite Automata in chapter Finite Automata of Automata Theory

Answer» CORRECT choice is (c) ab(a+b)*bba

Best EXPLANATION: STARTS with ab then any number of a or b and ends with bba.


Discussion

No Comment Found

Related InterviewSolutions