1.

The length of the shortest string NOT in the language (over Σ = {a, b}) of the following regular expression is _____________a*b*(ba)*a*(a) 2(b) 3(c) 4(d) 5This question was posed to me in an internship interview.My enquiry is from Minimization of DFA topic in portion Finite Automata and Regular Expression of Compiler

Answer»

Right ANSWER is (b) 3

Explanation: baa is not REGULAR so 3.



Discussion

No Comment Found

Related InterviewSolutions