JNTU

JNTU B.Tech II FORMAL LANGUAGES AND AUTOMATA THEORY Previous Question Paper (September/October - 2023 - R15)

B.Tech | II | II | R15 | September/October - 2023

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

Note: i) Question paper consists of Part A, Part B. ii) Part A is compulsory, which carries 25 marks. In Part A, answer all questions. iii) In Part B, Answer any one question from each unit. Each question carries 10 marks and may have a, b as sub questions.

PART - A

1a

What is the acceptance of a string in automata?

2 marks

Answer

A string is accepted by a finite automaton if, starting from the initial state, the sequence of transitions triggered by the input symbols leads the automaton to reach one of its designated final states (or accepting states) after processing the entire string. If the automaton ends in a non-accepting state, the string is rejected.

1b

Explain NFA with ε transitions with example.

3 marks

Answer

An NFA with ε-transitions (NFA-ε) is a non-deterministic finite automaton that allows transitions between states without consuming any input symbol. These transitions, denoted by the Greek letter ε, allow the automaton to change its state spontaneously. This feature simplifies the design of complex automata by allowing the concatenation of smaller machines.

Formally, an NFA-ε is defined as a 5-tuple (Q, Σ, δ, q₀, F), where the transition function δ is defined as δ: Q × (Σ ∪ {ε}) → 2Q. The inclusion of ε in the domain allows for transitions that do not require an input character.

For example, consider an NFA-ε that accepts strings starting with 'a' or 'b' followed by 'c'. We can have a start state q₀ with ε-transitions to state q₁ (processing 'a') and state q₂ (processing 'b'). From both q₁ and q₂, there is a transition on 'c' to a final state q₃. This structure allows the machine to non-deterministically choose between paths without reading any input at the start.

1c

Identify the properties of Derivation Tree.

2 marks

Answer

Sign in to view the complete answer paper.

1d

Write the regular expression for the language accepting all combinations of a’s except the null string, over the set ∑ = {a}.

3 marks

Answer

Sign in to view the complete answer paper.

1e

Identify the applications of Context Free grammar.

2 marks

Answer

Sign in to view the complete answer paper.

1f

Construct a CFG for the regular expression (0+1)*.

3 marks

Answer

Sign in to view the complete answer paper.

1g

Identify the components of Turing Machine.

2 marks

Answer

Sign in to view the complete answer paper.

1h

Explain about counter machine.

3 marks

Answer

Sign in to view the complete answer paper.

1i

Define P problems.

2 marks

Answer

Sign in to view the complete answer paper.

1j

Write about Universal TM.

3 marks

Answer

Sign in to view the complete answer paper.

PART - B

210 marks
a

Compare DFA and NFA and quote examples for both.

5 marks

Answer

Sign in to view the complete answer paper.

b

Convert the given Moore machine into its equivalent Mealy machine.

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

Discover the ground rules of finite automata.

5 marks

Answer

Sign in to view the complete answer paper.

b

Identify steps for minimization of DFA with an example.

5 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

Construct the FA for regular expression 0*1 + 10.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain Right and left Linear Regular grammars with example.

5 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

Illustrate the rules and properties of regular expression.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write a detail note on pumping lemma of regular expressions.

5 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

Design a Push Down Automata for accepting a language {anb2n | n>=1}.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain Greibach Normal Form with example.

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Check whether the given grammar G is ambiguous or not.
A → AA
A → (A)
A → a

5 marks

Answer

Sign in to view the complete answer paper.

b

Identify the conventional notations of Push Down Automata.

5 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

Construct TM for the addition function for the unary number system.

5 marks

Answer

Sign in to view the complete answer paper.

b

Examine linear bounded automata with example.

5 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

Illustrate the Properties of Context Sensitive Language.

5 marks

Answer

Sign in to view the complete answer paper.

b

Discuss Church’s Hypothesis in detail.

5 marks

Answer

Sign in to view the complete answer paper.

1010 marks
a

Prove that halting problem is undecidable.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain post correspondence problem with an example.

5 marks

Answer

Sign in to view the complete answer paper.

OR
1110 marks
a

Difference between NP hard Problem and NP complete Problem.

5 marks

Answer

Sign in to view the complete answer paper.

b

State when a problem is said to be decidable and give an example for decidable problem.

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 IT II II, September/October - 2023, 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...