1 votes 1 votes For $\Sigma =\{a,b\}$ the regular expression $r=(aa)^{*}(bb)^{*}b$ denotes Set of strings with $2\,{a}'s$ and $2\,{b}'s$ Set of strings with $2\,{a}'s$ $2\,{b}'s$ followed by $b$ Set of strings with $2\,{a}'s$ followed by ${b}'s$ which is a multiple of $3$ Set of strings with even number of ${a}'s$ followed by odd number of ${b}'s$ Theory of Computation isrodec2017 + – gatecse asked Dec 17, 2017 • recategorized Feb 11, 2018 by srestha gatecse 1.3k views answer comment Share Follow See 1 comment See all 1 1 comment reply srivivek95 commented Dec 20, 2017 reply Follow Share Regular expression can generate the following strings: aabbb -> option (a) is false aaaab -> option (b) & (c) are false Option (d) is answer 2 votes 2 votes Please log in or register to add a comment.
Best answer 1 votes 1 votes Since Kleene star (*) is used, the string b should be accepted by r=(aa)∗(bb)∗b Voila!!! Options A, B and C are eliminated in one shot!! answer is D sh!va answered Jan 11, 2018 • selected Feb 12, 2018 by Prashant. sh!va comment Share Follow See all 0 reply Please log in or register to add a comment.