wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Let r =1 (1+0)∗,s=11∗0andt=1∗0 be three regular expressions. which one of the following is true?

A
L(s)L(r)andL(s)L(t)
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
L(s)L(t)andL(s)L(r)
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
L(r)L(s)andL(s)L(t)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
L(t)L(s)andL(s)L(r)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B L(s)L(t)andL(s)L(r)
r=1(1+0)

So the language corresponds to r is all strings starting with 1.

S=110

The language corresponding to s is all strings starting with 1 followed by any number of 1 and end with 0. So s has more resitrictions as compared to r.

So, L(s)L(r)

t=10

The language corresponding to t is all strings ending with 0. Since s has to start with atleast one 1 but t can start with zero 1s. So s has more restriction compared to t.

So, L(s)L(t)

Note: Choices (a) and (c) are actually same.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Binary Operations
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon