Question: ( a ) Construct a DFA that recognizes the following language, Sigma = { a , b } [ 5 marks ] L =

(a) Construct a DFA that recognizes the following language, \Sigma ={a, b}[5 marks]
L ={w|w does not end with bba}
(b) Convert the each of the following regular expressions into an NFA. [8 marks]
(a \cup b \cup c)
000
(((ab)
(01))\cup a)
(c) Construct a DFA that L1\cap L2. In all parts \Sigma ={0,1}.[7 marks]
1. L1={w|w contains even number of 0s}
2. L2={w|w contains odd number of 1s}
(d) Use the pumping lemma to show the following language is not regular [5 marks]
{0
n1
n
|n in N}

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!