Professional Documents
Culture Documents
:
Name :
Sub.
Q.No. Question Description Marks
Sec.
Construct regular expression for the following Finite Machine.
1. 10
2. Find a minimum state automation equivalent to the finite automation describe the
following figure.
10
3 a) Build a transition system with minimal state for the following grammar G=({S,A},
{0,1}, P,S) where P consists of 5
S0A, A1A | a, A0S.
Page 1 of 2
b) Illustrate a regular grammar equivalent to the following regular expression.
5
a*b(a+b)*ba*
4 Construct a grammar which doesn’t have any unused symbols equivalent to the
following grammar G = ({E, A, B, C, D}, {a, b}, P, E) where p consists the
following production rules. 10
EaAb, AbBB, Bab, CaBD, Db
5 Consider the following production rules for a grammar G= ({S, A, B}, {a, b), P, S)
where P are given below.
SaB|bA, AaS|bAA|a, BbS|aBB|b
10
For string aaabbabbba find the left most derivation, right most derivation and parse
tree. Also show whether the grammar is ambiguous or not?
Page 2 of 2