Cseds: Formal Language and Automata Theory
Cseds: Formal Language and Automata Theory
Part – I Module BL CO PO
Short Answer Type Questions
1 Define DFA. 1 1 1 1
2 Define Arden’s Theorem. 2 1 2 1
Define and difference between ε – NFA & NFA 1 1 1
3 1
with suitable example.
4 Define Kleene Closure Operation with example. 1 1 1 1
5 Design a DFA for the language L= {000,111} 1 3 1 3
Design a ε – NFA for regular expression a*b* 3 1 3
6 1
over the alphabet {a,b}.
7 Define ε – Closure of a state. 1 1 1 1
Construct a NFA for the language L= {x is a 3 1 3
8 string starts with a and ends with b}, over the 1
alphabet set {a,b}
Find the ε – closure of all the states,
9 1 2 1 1
25 2 1 2 1
States Inputs
27 1 3 1 1
0 1
q0 q2 q1
q1 q3 q0
q2 q0 q3
q3 q1 q2
Part – II Module BL CO PO
Focussed – Short answer type Questions
Design a DFA for the language L= {x| x is a 3 1 3
1. string starts with a only}, over the alphabet set 1
{a,b}.
Design a PDA for the language L= {a2n.b. cn | 3 1 3
2. 1
n>=0}
Construct a DFA equivalent to given NFA.
3. 1 3 1 3
Find the ε – NFA for regular expression 0(0* + 2 2 2
4. 2
1)1*.
Draw a DFA for the language L= {111, 101, 110}
5. 1 3 1 3
and then convert it into universal DFA
Find the ε – NFA for regular expression 2 2 2
6. 2
(a*+b*+c*)*
Construct a NFA for regular expression (0+1) * 3 2 3
7. 2
(011).
Describe all the algebraic property of regular 2 2 1
8. 2
language.
Design a ε – NFA for regular expression 10(0+1) 3 2 3
9. 2
* over the alphabet {0,1}.
10 Define emptiness of FA with examples. 2 1 2 3
Check whether the following language is regular 2 2 1
11 or not- 2
L={anbn | n>=2}
Define the N. Chomsky hierarchy of languages, 2 3 1
12 3
and machines.
Check for the ambiguity in the grammar
E→ E+E
13 3 2 3 2
E → E*E
E→a
Define and describe the various types of grammar
and find out the highest type of the following
grammar
14 3 2 3 2
A → Ba
B→a
S→ cCD|dTC|€
C→ aTD|c
T→ cDC|cST|a
26 D→ dC|d 4 2 4 2
Present a PDA that accepts the language
generated by this grammar. Your PDA must
accept by empty store, it must start with S on its
stack, and it must be based on the above
grammar.
q0=initial state
30 Convert the R.E. = (a|b)* into DFA 1 2 1 3
Construct CFG, G=({S,A,B}, {a,b},P,S) with
production set P as
S→ aAbB
31 3 2 3 3
A→ Ab|b
B → Ba|a
to CNF
32 Prove that L = {ww | w ∈ {0, 1}*} is not regular. 2 2 2 2
Part – III Module BL CO PO
Long Answer type Questions
Design a DFA over the alphabet {0,1} to accepts
1 1 3 1 3
all the string ends with 1.
Design a DFA over the alphabet {a,b} to accepts
2 1 3 1 3
a language L ={a, aa, aaa ,…}
Convert FA to Regular Expression.
3 2 3 2 2
5 2 2 2 2
7 1 2 1 3
8 1 2 1 3
9 1 3 1 3