Question: On the alphabet { 0 , 1 } , let L be the language of all bitstrings where every 1 is followed by one, or
On the alphabet let be the language of all bitstrings where every is followed by one, or two, by
no more, s So and are in but and are not in
The DFA machine below accepts this language.
Let be the language of the reverse of all bitstrings in : all bitstrings where every is preceded by one, or twi
but no more, s So since inL, then
A machine which accepts is formed from by:
reversing each arrow in ;
making the start state in the only accepting state;
making each accepting state in a start state.
in addition, also make the following two changes, which do not alter the language accepted:
any inaccessible states are removed;
create a new single start state, with transitions from to the start states described above the forme
accepting states of
Let be the NFA with these changes made.
a Draw the machine using the same state names as in with the new start state called Hint: has
states, with arrowstransitions between states.
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
