Answered step by step
Verified Expert Solution
Link Copied!

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
{
0
,
1
}
,
let
be the language of all bitstrings where every
1
is followed by one, or two, by
no more,
0
s
.
So
,
,
1
0
and
1
0
0
are in
,
but
1
0
0
0
,
1
0
0
1
and
1
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
1
is preceded by one, or twi
but no more,
0
s
.
So since
0
1
0
0
inL, then
0
0
1
0
'
.
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
9
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M. Kroenke

1st Edition

0130086509, 978-0130086501

More Books

Students also viewed these Databases questions