Answered step by step
Verified Expert Solution
Question
1 Approved Answer
On the alphabet { 0 , 1 } , let be the language of all bitstrings where every 1 is followed by one, or two,
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
arrows
transitions between states.
pls give correct answer and with explanation, also accuracy.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started