Professional Documents
Culture Documents
or
ld
www.alljntuworld.in
Questions
JN
TU
S. No.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
1.
2.
3.
4.
5.
6.
7.
8.
9.
UNIT - I
Explain transition diagram, transition table with example.
Define transition function of DFA.
Define transitions.
Construct a DFA to accept even number of 0s.
Define Klean closure.
Construct a DFA to accept empty language.
Explain power of an alphabet?
Write transition diagram for DFA accepting string ending with 00.
Write transition diagram for DFA to accept exactly one a.
Define the language of NFA.
UNIT II
Define Regular Languages.
Define Pumping Lemma.
Write the applications of pumping lemma for regular languages.
List any two applications of regular expression.
Define Context Free Grammars.
Write through an intermediate state whose number is not greater than
K-1.
Write regular expression for denoting language containing empty
string.
Differentiate LMD and RMD.
Define ambiguous grammar.
Blooms
Taxonomy
Level
Course
Outcomes
Understand
Remember
Remember
Apply
Remember
Apply
Understand
Apply
Apply
Remember
1
2
2
2
1
2
1
2
2
2
Remember
Remember
Apply
Remember
Remember
Apply
7
7
7
7
8
7
Apply
Understand
Remember
8
8
www.alljntuworld.in
4.
5.
6.
7.
8.
9.
10.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
JN
TU
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
Course
Outcomes
8
Remember
Remember
Remember
9
8
9
ld
1.
2.
3.
Blooms
Taxonomy
Level
Remember
Remember
Remember
Remember
Remember
Remember
Remember
Understand
8
10
11
9
10
10
10
Apply
Understand
Remember
Remember
Remember
Remember
Apply
12
12
12
12
12
12
12
Understand
Remember
Remember
12
12
12
Remember
Remember
Remember
Remember
Remember
Remember
Understand
Remember
Remember
Remember
4
12
5
13
13
13
13
13
13
13
or
10.
Questions
S. No.
JNTU World
1.
2.
3.
4.
5.
6.
Questions
10 Marks Questions
UNIT - I
Define language over an alphabet with examples.
Write a DFA to accept set of all strings ending with 010.
Give example for Minimize the DFA .
Construct a Moore machine to accept the following language.
L = { w |w mod 3 = 0} on = { 0,1,2}
Write any four differences between DFA and NFA
Convert NFA with to NFA with an example.
Construct NFA for (0 + 1)*(00 + 11)(0 + 1)* and Convert to DFA.
Blooms
Taxonomy
Level
Course
Outcomes
Remember
Understand
Apply
2
3
Apply
Understand
2
2
Apply
www.alljntuworld.in
8.
9.
10.
1.
2.
3.
4.
5.
6.
Construct NFA for (0 +1)*(00 + 11)(0 + 1)* and Draw the transition
table and transition diagram and example strings.
Illustrate given 2 FAs are equivalent or not with an example.
Construct Mealy machine for (0 + 1)*(00 + 11) and convert to Moore
machine.
Convert Moore machine to Mealy machine with an example.
UNIT - II
Convert Regular Expression 01* + 1 to Finite Automata.
Convert given Finite Automat to Regular Expression using Ardens
theorem.
Convert given Finite Automat to Regular Expression using standard
method(RijK method)
Explain Identity rules . Give an example using the identity rules for
the simplification.
Construct Regular grammar for the given Finite Automata.
Use G be the grammar
SaBbA
Aa aS bAA
Bb bS aBB
For the string aaabbabbba ,
Find
a. Leftmost Derivation.
b . Rightmost Derivation.
c. Derivation Tree.
9.
10.
JN
TU
1.
Eliminate -productions.
Eliminate any unit productions in the resulting grammar.
Eliminate any useless symbols in the resulting grammar.
Convert the resulting grammar into Chomsky Normal Form
Illustrate the construction of Griebach normal form with an example.
Show that the following CFG ambiguous.
S
iCtS | iCtSeS | a
C
b
Discuss the Pumping lemma for Context Free Languages concept
with example {anbncn where n>0}
Write the procedure to convert CFG to PDA and also convert the
following CFG to PDA.
S
B | aAA
A
aBB | a
B
bBB|A
C
a
7.
8.
2.
3.
4.
5.
6.
7.
Blooms
Taxonomy
Level
Apply
Course
Outcomes
2
Apply
Apply
6
3
Understand
Understand
Understand
e
7
Understand
ld
7.
Questions
Understand
Apply
Apply
7
8
or
S. No.
JNTU World
Understand
Apply
8
7
Apply
Understand
Apply
Understand
Apply
Apply
Apply
9
8
Understand
Apply
11
www.alljntuworld.in
10.
1.
2.
3.
4.
5.
6.
7.
8.
JN
TU
9.
10.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
Course
Outcomes
10
Apply
10
Apply
11
ld
9.
Blooms
Taxonomy
Level
Apply
Remember
12
Apply
12
Apply
12
Apply
12
Apply
12
Apply
12
Apply
12
Apply
12
Apply
12
Apply
12
Understand
12
Apply
Understand
Apply
13
13
13
Understand
Apply
Apply
Apply
13
12
4
4
Apply
Remember
13
5
or
8.
Questions
S. No.
JNTU World
www.alljntuworld.in
JNTU World
1
2
3
4
1
2
Understand
Apply
Understand
Understand
Apply
Apply
7
7
7
JN
TU
ld
Blooms
Course
Taxonomy
Outcomes
Level
PROBLEM SOLVING/ANALYTICAL/CRITICAL THINKING QUESTIONS
UNIT - I
Construct NFA for (0 + 1)*0(0 + 1)0(0 + 1)* and convert to DFA.
Apply
2
Construct NFA for (0 + 1)*010(0 + 1)* and Convert to DFA.
Apply
2
Apply
2
Construct NFA with for 0*1*12* and Convert to NFA .
or
1
2
3
Questions
S. No.
2
3
4
1
2
3
Apply
Understand
10
9
Apply
10
Understand
11
Apply
12
Apply
12
Apply
12
Apply
12
Understand
Understand
Apply
13
13
5
Apply