CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Consider the following regular expressions:

I. 0(0 + 1)*
II. 0*10*1(0+1)*
III. (0+10)*(1+)
IV. [(0*10*10*)+0*]10*
How many of the above regular expressions are reverse isomorphic L(r)=L(r^{R}) ?

A
0
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
2
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
None of these
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
1
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C None of these
II. III and IV are reverse isomorpluc.
I denotes strings starting with 0. However its reversal will have string ending with 0. Therefore 1 is not reverse isomorphic.
II is reverse isomorphic as it denotes string containing at least two 1's and same goes for its reversal as well.
The regular expression for III is (0 + 10)* (1 + ) and its reversal will be (1 + ) (0 + 01). Clearly both regular expressions generate the same languge that is the set of strings which don't have any consecutive 1;s. So III is also reverse isomorphir.
IV is the regular expression for odd number of ones and its reversal also represent the same languge and so IV is also reverse isomorphic.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Endoplasmic Reticulum and Golgi Apparatus
Watch in App
Join BYJU'S Learning Program
CrossIcon