2 votes 2 votes the regular expression a*(ab*)* is same as 1.b*(ab*)*b* 2. a*+b* 3.(aba)*(a*+b) 4. none Hira Thakur asked Aug 29, 2016 Hira Thakur 1.3k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes Given regular expression a*(ab*)* 1.b*(ab*)*b* // generates babb or b* which is not possible by give regular expression 2. a*+b* // same way 2. not able to generate ab 3.(aba)*(a*+b) // original expression can generate aaab but this can't . So ans should be none. papesh answered Aug 29, 2016 papesh comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes 2 Regular Expressions are same if they generate the same language... Here , a*(ab*)* generates all the strings which start with 'a' But in options 1,2 and 3 , there is a possibility that string can be generate by b. So, answer will be (4) none ankit answered Aug 30, 2016 ankit comment Share Follow See all 0 reply Please log in or register to add a comment.