Question: 7. Let X = {a, b} and Y = {0, 1} and consider B: X+ Y where: (a) B(x) = { 1 if the numbers

 7. Let X = {a, b} and Y = {0, 1}

7. Let X = {a, b} and Y = {0, 1} and consider B: X+ Y where: (a) B(x) = { 1 if the numbers of a's and b's in x are not equal, 0 otherwise. (b) B(x) = { 1 if x contains the subsequence abb and the subsequence bbab. 0 otherwise. Note that the two subsequences could overlap. For example, both the strings bbabaabba and abbab contain both subsequences. (1) For each of the two functions above, describe the Nerode equivalence classes [x] and the functions Bob (x EX). (ii) For each of the two functions above, if is not finite state realizable, prove it; if B is finite state realizable give a transition graph for the reduced machine Mp or M(B)

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!