The set of all strings over ∑ = {a,b} in which strings consisting a’s and b’s and ending with in bb is?
(a) ab
(b) a*bbb
(c) (a+b)* bb
(d) All of the mentioned
This question was addressed to me during an online exam.
This intriguing question comes from Obtaining the regular Expression from the Finite automata topic in chapter Finite Automata and Regular Expression of Compiler