JNTU

JNTU B.Tech II Year FORMAL LANGUAGES AND AUTOMATA THEORY Previous Question Paper (April - 2018 - R15)

B.Tech | II Year | II Semester | R15 | April - 2018

Answer PaperPaper Code: 124AGMaximum Marks: 75Time: 3 Hours

Note: This question paper contains two parts A and B. Part A is compulsory which carries 25 marks. Answer all questions in Part A. Part B consists of 5 Units. Answer any one full question from each unit.

Part A

125 marks
a

Define NFA with ε-moves.

2 marks

Answer

An NFA with ε-moves is a 5-tuple (Q, Σ, δ, q0, F) where δ is a transition function defined as δ: Q × (Σ ∪ {ε}) → 2Q. This allows the automaton to transition between states without consuming any input symbol.

b

Design FA to accept set of all strings over {0,1} containing 3 consecutive ones.

3 marks

Answer

The DFA consists of states {q0, q1, q2, q3} where q0 is the start state and q3 is the final state. Transitions are: δ(q0, 0)=q0, δ(q0, 1)=q1, δ(q1, 0)=q0, δ(q1, 1)=q2, δ(q2, 0)=q0, δ(q2, 1)=q3, δ(q3, 0)=q3, δ(q3, 1)=q3.

c

Give recursive definition for Regular expression.

2 marks

Answer

Sign in to view the complete answer paper.

d

If L1={an / n≥1} and L2= {bn / n≥1} then find L1.L2.

3 marks

Answer

Sign in to view the complete answer paper.

e

State pumping Lemma.

2 marks

Answer

Sign in to view the complete answer paper.

f

Perform leftmost derivation for the string aaabbabbba with respect to the Grammar S → aB | bA; A → a | aS | bAA; B → b | bS | aBB

3 marks

Answer

Sign in to view the complete answer paper.

g

Define Turing Machine.

2 marks

Answer

Sign in to view the complete answer paper.

h

Write about Multi tape- Turing Machine.

3 marks

Answer

Sign in to view the complete answer paper.

i

Write about Modified PCP.

2 marks

Answer

Sign in to view the complete answer paper.

j

Give an example of a Language that is not recursive but recursively enumerable.

3 marks

Answer

Sign in to view the complete answer paper.

Part B

210 marks
a

Convert the following NFA with ε moves to DFA shown in figure 1.

5 marks

Answer

Sign in to view the complete answer paper.

b

Design Finite Automaton which accepts set of all strings not containing 101 as substring.

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

Design DFA for the language all strings over {0,1} which are ending with 00.

4 marks

Answer

Sign in to view the complete answer paper.

b

Minimize the following DFA shown in figure 2.

6 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

Convert the following Finite Automata to it’s equivalent Regular Expression as shown in figure 3.

5 marks

Answer

Sign in to view the complete answer paper.

b

Construct Finite Automata for the regular expression 0*1* (00)* 1.

5 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

Construct Finite Automata for ((0+1)*00)*110.

5 marks

Answer

Sign in to view the complete answer paper.

b

Find the right linear grammar for the following regular Expression 0*110*.

5 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

Design Push Down Automata for the language L={wcwR | w ∈ (0+1)*}.

5 marks

Answer

Sign in to view the complete answer paper.

b

Convert the following Context Free Grammar (CFG) to Chomskey Normal Form (CNF): S → AaB | aaB; A → ε; B → bbA | ε.

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Convert the following grammar to Chomsky Normal Form: S → aSa | bSb | a | b | aa | bb.

5 marks

Answer

Sign in to view the complete answer paper.

b

Construct CFG for the PDA given in the problem statement.

5 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

Construct the Turing machine for the language L={ anb2n | n≥1}.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write properties of recursively enumerable languages.

5 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

Explain about various types of Turing Machine.

5 marks

Answer

Sign in to view the complete answer paper.

b

Design Turing Machine for the Language L={anbncn | n≥1}.

5 marks

Answer

Sign in to view the complete answer paper.

1010 marks
a

Write and explain about the Chomsky hierarchy of languages.

7 marks

Answer

Sign in to view the complete answer paper.

b

What do you mean by Halting Problem of Turing Machine?

3 marks

Answer

Sign in to view the complete answer paper.

OR
1110 marks
a

Define P – type problem with example.

5 marks

Answer

Sign in to view the complete answer paper.

b

Define NP – Hard problem with example.

5 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the solved question paper with answers of FORMAL LANGUAGES AND AUTOMATA THEORY from JNTU for B.Tech CSE II Year II Semester, April - 2018, R15.

For the question paper without answers, switch to the Question Paper tab.

Other papers in FORMAL LANGUAGES AND AUTOMATA THEORY

Loading Question Papers

Fetching data from database...