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 equal, O otherwise. (b) B(x) = { 1 if x contains an odd number of the subsequence abab, O otherwise. (i) 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 is finite state realizable give a transition graph for the reduced machine MB or MB). 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 equal, O otherwise. (b) B(x) = { 1 if x contains an odd number of the subsequence abab, O otherwise. (i) 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 is finite state realizable give a transition graph for the reduced machine MB or MB)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
