Firstranker's choice
Printed Pages: 03
Paper Id: 110433
--- Content provided by FirstRanker.com ---
Sub Code: RCS403
Roll No.
B. TECH
(SEM IV) THEORY EXAMINATION 2017-18
--- Content provided by FirstRanker.com ---
THEORY OF AUTOMATA AND FORMAL LANGUAGES
Time: 3 Hours
Total Marks: 70
Note: Attempt all Sections. If require any missing data; then choose suitably.
SECTION A
-
Attempt all questions in brief. 2 x 7 = 14
--- Content provided by FirstRanker.com ---
- Define alphabet, string and language.
- Design a regular expression that accepts all the strings for input alphabet {a,b} containing exactly 2 a's.
- Design a NFA that accepts all the strings for input alphabet {a,b} containing the substring abba.
- Define Chomsky hierarchy.
- Is context free language closed under union? If yes, give an example.
- Convert NFA into equivalent DFA by taking any suitable example.
- Remove useless productions from the given productions: S?AB|ab, A?aA|B|a, B?D|E
--- Content provided by FirstRanker.com ---
SECTION B
-
Attempt any three of the following: 7 x 3 = 21
- Define Deterministic Finite Automata (DFA) and design a DFA that accepts the binary number whose equivalent is divisible by 5.
- State recursive definition of regular expression and construct regularexpression corresponding to the state transition diagram as shown in Fig.1
- Reduce the given grammar G=({S,A,B},{a,b},P,S) to Chomsky Normal Form. Where P is defined as:
S? bA | aB
A? bAA | aS | a--- Content provided by FirstRanker.com ---
B? aBB | bS | b - What is Push Down Automata (PDA)? Design the PDA for the language L = {wcwR w? {a,b}*}
- Define Turing Machine (TM). Construct the TM for the language L = {anbn | n>0}.
--- Content provided by FirstRanker.com ---
SECTION C
-
Attempt any one part of the following: 7x1=7
--- Content provided by FirstRanker.com ---
- Describe Mealy and Moore machines with example. Convert the given Mealy machine as shown in Fig. 2 into Moore Machine.
- Construct the minimum state automata equivalent to DFA described by Fig. 3
- Describe Mealy and Moore machines with example. Convert the given Mealy machine as shown in Fig. 2 into Moore Machine.
-
Attempt any one part of the following: 7x1=7
- State Pumping Lemma for regular sets. Show that the set L= {ap | p is a prime} is not regular.
- Discuss closure properties i.e. concatenation, union, intersection, complement of regular languages.
-
Attempt any one part of the following: 7x1=7
--- Content provided by FirstRanker.com ---
- Discuss inherent ambiguity of context free languages with suitable example. Construct the context free grammar that accepts language L={aibjck| i = j or j = k; i, j, k are positive integers}.
- Define parse tree. Find parse tree for the string abbcde considering the productions-
S?aAcBe
A?Ab
A?b--- Content provided by FirstRanker.com ---
B?d
Is this ambiguous? Justify.
-
Attempt any one part of the following: 7x1=7
- Differentiate between deterministic PDA (DPDA) and non-deterministic PDA (NPDA) with suitable example. Also discuss two stack PDA with example.
- Construct a PDA equivalent to the following CFG productions:
S?aAA, A?aS | bS|a
--- Content provided by FirstRanker.com ---
-
Attempt any one part of the following: 7x1=7
- Write short notes on the following:
- Halting problem of Turing machine
- Recursive Language
- Variants of Turing Machine
--- Content provided by FirstRanker.com ---
- Define Post's Correspondence Problem (PCP) and Modified PCP with its applications. Find any three PCP solutions of the lists x=(b,bab3,ba) and y=(b3,ba,a).
- Write short notes on the following:
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
This download link is referred from the post: AKTU B-Tech Last 10 Years 2010-2020 Previous Question Papers || Dr. A.P.J. Abdul Kalam Technical University
--- Content provided by FirstRanker.com ---