0% found this document useful (0 votes)
83 views5 pages

Group - A (Short Answer Questions)

The document contains 10 multiple choice questions and 10 long answer questions across 5 units on the topics of finite automata and regular languages. Some of the key concepts covered include: - Defining regular expressions, regular languages, context-free grammars - Converting between finite automata models like DFAs, NFAs, Moore machines, Mealy machines - Properties of regular languages like the pumping lemma - Parsing and grammars including Greibach normal form, Chomsky normal form - Configurations and languages of pushdown automata and Turing machines - The Chomsky hierarchy of formal languages - Decidability and complexity classes like P and NP

Uploaded by

forty
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
83 views5 pages

Group - A (Short Answer Questions)

The document contains 10 multiple choice questions and 10 long answer questions across 5 units on the topics of finite automata and regular languages. Some of the key concepts covered include: - Defining regular expressions, regular languages, context-free grammars - Converting between finite automata models like DFAs, NFAs, Moore machines, Mealy machines - Properties of regular languages like the pumping lemma - Parsing and grammars including Greibach normal form, Chomsky normal form - Configurations and languages of pushdown automata and Turing machines - The Chomsky hierarchy of formal languages - Decidability and complexity classes like P and NP

Uploaded by

forty
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

smartworld.asia smartzworld.

com

Group - A (Short Answer Questions)


S. No. Questions Blooms Course
Taxonomy Outcomes
Level
UNIT - I
1. Explain transition diagram, transition table with example. Understand 1
2. Define transition function of DFA. Remember 2
3. Define ε –transitions. Remember 2
4. Construct a DFA to accept even number of 0’s. Apply 2
5. Define Klean closure. Remember 1
6. Construct a DFA to accept empty language. Apply 2
7. Explain power of an alphabet? Understand 1
8. Write transition diagram for DFA accepting string ending with 00. Apply 2
9. Write transition diagram for DFA to accept exactly one a. Apply 2
10. Define the language of NFA. Remember 2
UNIT – II
1. Define Regular Languages. Remember 7
2. Define Pumping Lemma. Remember 7
3. Write the applications of pumping lemma for regular languages. Apply 7
4. List any two applications of regular expression. Remember 7
5. Define Context Free Grammars. Remember 8
6. Write through an intermediate state whose number is not greater than Apply 7
K-1.
7. Write regular expression for denoting language containing empty Apply 7
string.
8. Differentiate LMD and RMD. Understand 8
9. Define ambiguous grammar. Remember 8

Specworld.in jntuworld.xyz
smartworld.asia smartzworld.com

S. No. Questions Blooms Course


Taxonomy Outcomes
Level
10. State the following grammar is ambiguous. Remember 8
S-> AB|aaB
A->a / Aa
B->b
UNIT – III
1. Define Greibach normal form. Remember 9
2. Define nullable Variable. Remember 8
3. State the nullable variables from the following CFG. Remember 9
SABCa | bD
ABC |b
Bb | ε
CĐ | ε
Dd
4. State the symbol is used to label the interior node of the parse tree. Remember 8
5. Define the language of PDA accepted by final state. Remember 10
6. List the steps to convert CFG to PDA. Remember 11
7. Define CNF. Remember 9
8. Define PDA. Remember 10
9. Define NPDA. Remember 10
10. Differentiate between deterministic and nondeterministic PDA. Understand 10
UNIT - IV
1. Write the Turing Machine model. Apply 12
2. Explain the moves in Turing Machine Understand 12
3. Define an ID of a Turing Machine? Remember 12
4. Define the Language of Turing Machine. Remember 12
5. List types of TM Remember 12
6. Define Turing Machine. Remember 12
7. Write the difference between Pushdown Automata and Turing Apply 12
Machine.
8. Explain Church’s Hypothesis. Understand 12
9. Define Context sensitive language. Remember 12
10. Define multi head Turing Machine, multi dimensional Turing Remember 12
Machine.
UNIT - V
1. Define Chomsky hierarchy of languages. Remember 4
2. Define Universal Turing Machine Remember 12
3. Define LR(0) grammars. Remember 5
4. Define decidability & undecidability Remember 13
5. Define P,NP problems. Remember 13
6. Define Rice ‘s theorem Remember 13
7. Give examples for Undecidable Problems Understand 13
8. Define Turing Machine halting problem. Remember 13
9. Define Turing Reducibility Remember 13
10. Define PCP. Remember 13

2. Group - II (Long Answer Questions)

S. No. Questions Blooms Course


Taxonomy Outcomes
Level
10 Marks Questions
UNIT - I
1. Define language over an alphabet with examples. Remember 2
Write a DFA to accept set of all strings ending with 010.
2. Give example for Minimize the DFA . Understand 2
3. Construct a Moore machine to accept the following language. Apply 3
L = { w |w mod 3 = 0} on ∑ = { 0,1,2}
4. Write any four differences between DFA and NFA Apply 2
5. Convert NFA with Ɛ to NFA with an example. Understand 2
6. Construct NFA for (0 + 1)*(00 + 11)(0 + 1)* and Convert to DFA. Apply 2

Specworld.in jntuworld.xyz
smartworld.asia smartzworld.com

S. No. Questions Blooms Course


Taxonomy Outcomes
Level
7. Construct NFA for (0 +1)*(00 + 11)(0 + 1)* and Draw the transition Apply 2
table and transition diagram and example strings.
8. Illustrate given 2 FA‘s are equivalent or not with an example. Apply 6
9. Construct Mealy machine for (0 + 1)*(00 + 11) and convert to Moore Apply 3
machine.
10. Convert Moore machine to Mealy machine with an example. Understand 3
UNIT - II
1. Convert Regular Expression 01* + 1 to Finite Automata. Understand e
2. Convert given Finite Automat to Regular Expression using Arden’s Understand 7
theorem.
3. Convert given Finite Automat to Regular Expression using standard Understand 7
method(RijK method)
4. Explain Identity rules . Give an example using the identity rules for Understand 7
the simplification.
5. Construct Regular grammar for the given Finite Automata. Apply 7
6. Use G be the grammar Apply 8
SaBbA
Aa aS bAA
Bb bS aBB
For the string aaabbabbba ,
Find
a. Leftmost Derivation.
b . Rightmost Derivation.
c. Derivation Tree.
7. Explain the properties, applications of Context Free Languages Understand 8
8. Construct right linear and left linear grammars for given Regular Apply 7
Expression.
9. Construct a Transition System M accepting L(G) for a given Apply 7
Regular Grammar G.
10. Discuss the properties of Context free Language. Explain the Understand 7
pumping lemma with an example.
UNIT – III
1. Write a short notes on Chomsky Normal Form and Griebach Normal Apply 9
Form.
2. Show that the following grammar is ambiguous with respect to the Understand 8
string aaabbabbba.
S aB | bA
A aS| bAA| a
B bS | aBB | b
3. Use the following grammar : Apply 9
S ABC | BbB
A aA | BaC|aaa
B bBb| a|D
CCA|AC
D ɸ
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
4. Illustrate the construction of Griebach normal form with an example. Apply 9
5. Show that the following CFG ambiguous. Apply 8
S iCtS | iCtSeS | a
C b
6. Discuss the Pumping lemma for Context Free Languages concept Understand 9
with example {anbncn where n>0}
7. Write the procedure to convert CFG to PDA and also convert the Apply 11
following CFG to PDA.
S B | aAA
A aBB | a
B bBB|A
C a

Specworld.in jntuworld.xyz
smartworld.asia smartzworld.com

S. No. Questions Blooms Course


Taxonomy Outcomes
Level
8. Construct a PDA to accept the language L ={ anbn | n >= 1} Apply 10
by a final state. Draw the graphical representation of the PDA.
Also show the moves made by the PDA for the string aaabbb
9. Construct NPDA for L = { W WR /W ϵ ( 0 + 1)*} Apply 10
M = ({q1,q2},{0,1}.{R,B,G},δ,q1,R,ϕ}
10. Write the procedure to convert from the given PDA to a CFG. Apply 11
Convert the following example.
δ(q0,b,z0)={q0,zz0)
δ(q0, b, z)=(q0,zz)
δ(q0, ϵ ,z0)=(q0,ϵ)
δ(q0,a,z) = (q1,z)
δ(q1,b,z)=(q1,ϵ)
δ(q1,a,z0)=(q0,z0)
UNIT – IV
1. Define a Turing Machine. With a neat diagram explain the working Remember 12
of a Turing Machine.
2. Construct a Turing Machine which shift non block symbols 3 cells Apply 12
to the right.
3. Construct a Turing Machine to accept the following language. Apply 12
L = { 0n1n0n | n ≥1}
4. Construct a Turing Machine that accepts the language Apply 12
L = {0n1n | n ≥1}. Give the transition diagram for the Turing
Machine obtained and also show the moves made by the
Turing machine for the string 000111.
5. Construct a Turing Machine to accept the language Apply 12
L= { w#wR | w ϵ ( a + b ) *}
6. Write short notes on Recursive and Recursively Enumerable Apply 12
languages?
7. Write the properties of recursive and recursively enumerable Apply 12
languages
8. Construct a Turing Machine to accept strings formed with 0 Apply 12
and 1 and having substring 000.
9. Construct a Turing Machine that accepts the language Apply 12
L = {1n2n3n | n ≥1}. Give the transition diagram for the Turing
Machine obtained and also show the moves made by the
Turing machine for the string 111222333.
10. Construct a Turing Machine to implement Subtraction ( m-n ). Apply 12
UNIT – V
1. Explain the concept of undecidability problems about Turing Understand 12
Machine
2. Write a note on Modified PCP and Multi tape Turing machine. Apply 13
3. Explain individually classes P and NP Understand 13
4. Write a shot notes on post's correspondence problem Apply 13
and check the following is PCP or not.
I A B
1 11 111
2 100 001
3 111 11
5. Explain the Halting problem and Turing Reducibility. Understand 13
6. Write a short notes on universal Turing machine Apply 12
7. Write a short notes on Chomsky hierarchy. Apply 4
8. Write a short notes on Context sensitive language and linear Apply 4
bounded automata.
9. Write a short notes on NP complete , NP hard problems. Apply 13
10. Define LR(0) items. Find LR(0) for the following example. Remember 5
S’  Sc
S  SA / A
A  aSb/ab

Specworld.in jntuworld.xyz
smartworld.asia smartzworld.com

3. Group - III (Analytical Questions)

S. No. Questions Blooms Course


Taxonomy Outcomes
Level
PROBLEM SOLVING/ANALYTICAL/CRITICAL THINKING QUESTIONS
UNIT - I
1 Construct NFA for (0 + 1)*0(0 + 1)0(0 + 1)* and convert to DFA. Apply 2
2 Construct NFA for (0 + 1)*010(0 + 1)* and Convert to DFA. Apply 2
3 Construct NFA with Ɛ for 0*1*12* and Convert to NFA . Apply 2
4 Explain the steps for the minimization of given DFA with an Understand 2
example.
5 Construct Mealy Machine for Residue Modulo of 5 for the ternary Apply 2
number system and convert to Moore Machines.
UNIT - II
1 Convert Regular Expression (11 + 0)*(00 + 1)* to NFA with Ɛ. Understand 7
2 Convert Regular Expression (a + b)*(aa + bb)(a + b)* to DFA. Understand 7
3 Construct Regular Grammars for Finite Automata 0*(1(0 + 1))* . Apply 7
4 Construct Finite Automata for Apply 7
A0  a A1
A1  b A1
A1  a
A1  bA0
UNIT - III
1 Construct PDA for equal number of x’s and y’s Apply 10
2 Convert the following grammar into GNF Understand 9
A1 A2 A3
A2  A3 A1 /b
A3 A1 A2 /a
3 Construct NPDA for L = { W WR /W ϵ ( X + Y)*} Apply 10
M = ({q1,q2},{x,y}.{R,B,G},δ,q1,R,ϕ}
4 Convert the following PDA to CFG Understand 11
δ(q0,0,z0)={q0,xz0)
δ(q0,0,x)=(q0,xx)
δ(q0,1,x)=(q1,ϵ)
δ(q1,1,x) = (q1,ϵ)
δ(q1,ϵ,x)=(q1,ϵ)
δ(q1,ϵ,z0)=(q1,ϵ)
UNIT - IV
1 Construct a Turing Machine that accepts the language Apply 12
L = {a2nbn| n ≥0}. Give the transition diagram for the
Turing Machine obtained.
2 Construct a Turing Machine that gives two’s compliment for the Apply 12
given binary representation.
3 Construct a Turing Machine to accept the following language. Apply 12
L = { wnxnynzn | n ≥1}
4 Construct a Turing Machine which shift non block symbols 2 cells Apply 12
to the right.
UNIT - V
1 Explain PCP and MPCP with examples. Understand 13
2 Explain Turing theorem ,Halting problems, Turing Reducibility. Understand 13
3 Construct LR(0) for Apply 5
SE
E  E*B
E E + B
E  id
4 Construct LR(0) for Apply 5
A  aAa/B
Bb

Specworld.in jntuworld.xyz

You might also like