Question: Q 4 . Let L be a language over = { 0 , 1 , 2 } where each 0 is followed by a 1

Q 4.Let L be a language over ={0,1,2} where each 0 is followed by a 1 or 22.
i) Give a regular grammar that generates L.
ii) Convert the regular grammar into an NFA.
iii) Give a regular expression for L.
Q 5.Let RE=(01+10)((1*0)*+(0*1)*)*.
i) Convert the above RE to an NFA M using the procedure described in class.
ii) Convert M to a DFA M'.
iii) Minimize M'.
Q 6.Use generalized transition graphs (GTG) to convert the following NFAs (alphabet ={a,b}) into regular expressions. Show your work, i.e., intermediate GTGs.
i)
ii)
 Q 4.Let L be a language over ={0,1,2} where each 0

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 Databases Questions!