Question: In this question the alphabet is ={a,b}. Let R = (ba + bab)*a* and S = a*b(a*ba*b)*a*. (a) Give two examples of a string z

In this question the alphabet is In this question the alphabet is ={a,b}. Let R = (ba +={a,b}. Let R = (ba + bab)*a* and S = a*b(a*ba*b)*a*.

(a) Give two examples of a string z that is both in R and in S (that is, zbab)*a* and S = a*b(a*ba*b)*a*. (a) Give two examples of a string Rz that is both in R and in S (that is, z S).

(b) Give two examples of a string x that is in R and is not in S (that is, xR S). (b) Give two examples of a string x that is R in R and is not in S (that is, x R S S

where S is the complement of S).

(c) Give two examples of a string y that is in S and is not in R (that is, y where S is the complement of S). (c) Give two examples of R a string y that is in S and is not in RS).

In each case briey explain (using natural language) why your example strings have the

required property.

Transcribed image text

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!