GATE | GATE-CS-2003 | Question 14
The regular expression 0*(10*)* denotes the same set as
(A) (1*0)*1*
(B) 0 + (0 + 10)*
(C) (0 + 1)* 10(0 + 1)*
(D) none of these
Answer: (A)
Explanation: There is property of regular expression (a+b)* = (a*b*)* = (a*+b*)* = (a*+b)* = a*(ba*)*= (b*a)*b*.
(1*0)*1* can generate all strings that generated by given regular expression 0*(10*)*.
So, option (A) is correct.
Quiz of this Question
Last Updated :
27 Nov, 2018
Like Article
Save Article
Share your thoughts in the comments
Please Login to comment...