0 votes 0 votes r1= (0+1)* r2= (00+01+10+11)* are they both equal or not?? Theory of Computation made-easy-test-series theory-of-computation regular-expression + – aaru14 asked Nov 17, 2017 • edited Mar 4, 2019 by adeebafatima1 aaru14 402 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply nikhil_cs commented Nov 17, 2017 reply Follow Share '000' can be generated by r1 but can not be generated by r2 (Similarly 111) . Therefore r1 and r2 are not equal. 0 votes 0 votes LeenSharma commented Nov 17, 2017 reply Follow Share not equal.odd length string can't be generated from r2. 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes Both are not equal In r1 you get all even and odd length string.like 0,1 but In r2 you get only even length string.(you not get odd length string like( 0 and 1)) Bhargav D Dave 6 answered Nov 17, 2017 Bhargav D Dave 6 comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Even the most basic strings like '0', '1' can't be generated by R2. Hence both are not equal. shreyansh jain answered Nov 17, 2017 shreyansh jain comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes .... Hira Thakur answered Nov 17, 2017 Hira Thakur comment Share Follow See all 0 reply Please log in or register to add a comment.