NFA, Regular Expression-Theory of Automata-Quiz Solution, Exercises of Theory of Automata

This quiz is for Theory of Automata course. It was taken by Dr. Lalit Kumar at B R Ambedkar National Institute of Technology.It includes: Theory, Automata, Regular, Expression, Language, NFA, Step, State, Elimination

Typology: Exercises

2011/2012

Uploaded on 07/09/2012

jogy
jogy 🇮🇳

4.7

(10)

54 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CIS-317: Theory of Automata
Quiz4
Name:-
Total Marks: 10
Time: 10 Minutes
Write the Regular Expression that gives the same language as the NFA given below.
Solution:
The step by step state elimination is given below. You may choose the order of state according
to your own preference. Writing the regular expression directly would also earn you full credit.
1
q0
q1
q3
q2
2
1
0,1
0,1
0,1
1
0,1
q0
q1
q2
2
1
0+1
0+1
0+1
11*(0+1)
q0
q1
q2
2
1
0+1
0+1
(0+1) + 11*(0+1)
q0
q2
2
0+1
0+1
1 ( (0+1) + 11*(0+1) )
q0
q2
2
(0+1)*1( (0+1) + 11*(0+1) ) (0+1)*
(0+1)*1( (0+1) + 11*(0+1) ) (0+1)*
docsity.com

Partial preview of the text

Download NFA, Regular Expression-Theory of Automata-Quiz Solution and more Exercises Theory of Automata in PDF only on Docsity!

CIS-317: Theory of Automata

Quiz4 Name:-

Total Marks: 10 Time: 10 Minutes

Write the Regular Expression that gives the same language as the NFA given below.

Solution:

The step by step state elimination is given below. You may choose the order of state according

to your own preference. Writing the regular expression directly would also earn you full credit.

q 0 q^1 q 3 q 2 2

q 0 q^1 q^2 2

q 0 q^1 q^2 2

q 0 q^2 2

q 0 q^2 2

docsity.com