Question: Consider the regular expressions: R 1 = ( a | b ) * ( 0 * 1 * ) ( a | b ) *

Consider the regular expressions: R1=(a | b )*(0*1*)( a | b )* R2=(a | b )(0*1*)*( a | b ) R3=01(R2*) Which of the following is true? A. aa in L(R1) and 0101 in L(R3) B. abab0101 in L(R1) and ab0101a in L(R2) C. a000111abab in L(R1) and a01100110a in L(R2) D.a010101a in L(R1) and a010101a in L(R2)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!