Question: Let Lsube * be a language. The complement of L , denoted L c , is the complement of L in * . That is

Let Lsube* be a language. The complement of L, denoted Lc, is the complement of L in *. That is, for
every win*, we have winLc if and only if w!inL.
(a) Given a DFA M recognising a language L=L(M), explain in words how to construct a DFA M' such
that L(M')=Lc.
(b) Construct a DFA recognising the following language:
L={win*| every odd position ofwis1}
Justification not required.
(c) Now use your method from the first part to draw a DFA for the complement of the language L above.
Justification not required.
Let Lsube * be a language. The complement of L ,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!