Question: Draw state diagrams for deterministic finite - state transducers over { a , b } that do the following. ( i ) On input w
Draw state diagrams for deterministic finitestate transducers over a b
that do the following.
i On input w produce output an where n is the number of occurrences
of the substring ab in w
ii On input w produce output an where n is the number of occurrences
of the substring aba in w
iii On input w produce a string of length w whose ith symbol is an a if
i or if i and the ith and i lst symbols of ware different;
otherwise, the ith symbol of the output is a b For example, on input
aabba the transducer should output ababa, and on input aaaab it should
output abbba.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
