Question: 1 . 1 . Use the same ideas to describe an automaton for the following task. Most Russian female last names end in a letter
Use the same ideas to describe an automaton for the following task. Most Russian female last names end in a letter a Describe an automaton for recognizing words that end in a For example, "Ivanov" should be rejected, but "Ivanova" or "IVANOVA" should be accepted.
A natural idea is to have states:
the start state
the state A indicating that the last read letter was a or A and
the state indicating that the last read letter was different from and
Start is the starting state, A is the only final state. The transitions are as follows:
from S letters a and A lead to state A any other letter leads to state D;
from A letters a and A lead to state A any other letter leads to state D;
from D letters a and A lead to state A any other letter leads to state D
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
