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} 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
Get step-by-step solutions from verified subject matter experts
