PREVIOUS YEAR QUESTION PAPER

T9251 – FORMAL LANGUAGES AND AUTOMATA

Anna University

Regulation 2008 Semester 4 2013

Question Paper Details

University Anna University
Degree B.Tech. Information and Technology
Department Information and Technology
Regulation Regulation 2008
Semester 4
Subject Code T9251
Subject Name FORMAL LANGUAGES AND AUTOMATA
Exam Session November / December 2013
Duration 3 Hrs
Maximum Marks 100

View Question Paper PDF

Access the previous year question paper for your examination preparation.

View / Download PDF

How to Use This Question Paper

More Question Papers

Browse other previous year question papers for this subject.

View All Subject Question Papers

Question Paper Intelligence

Automatically extracted historical question data. Academic accuracy and examination rules require verification.

9Extracted entries
100Maximum marks (metadata)
180Duration (minutes)
4Choice candidates

Part-wise extracted questions

Part B9

Question type candidates

Other Or Unclassified8
Design1

Section marks require review. Marks charts are withheld.

Optional-choice evidence

Detected alternatives only. Confirm the actual choice rules in the original question paper.

Part B — Question 12: Option a · Option b
Part B — Question 13: Option a · Option b
Part B — Question 14: Option a · Option b
Part B — Question 15: Option a · Option b

Question navigator

Extracted questions

Part B — 11a

(a) Design a DFA {deterministic finite automaton) to accept the language (16) Q* 1 (0*10*1)*0*

Design

Source quality review required

Part B — 12a

(a) i) Find the regular expression for the following DFA Figure 1 (10) Figure 1 ii) Prove that the following is not regular languages. {0' 11/ (2-0) (6) யு

Other Or Unclassified

Source quality review required

Part B — 12b

(b) i) Explain the algorithm used to minimize the automata. Construct a minimum automaton equivalent to an automaton Figure 2. (16) jan Figure 2 a

Other Or Unclassified

Source quality review required

Part B — 13a

(a) i) Prove that the CFG G1 with productions is unambiguous (8) 01:. 0 S$1->S1+T/T T-> T*F/ F F->(Si)/a ii) Find the equivalent unambiguous grammar for the following grammar productions (8) S -> ABA A->aA/A B->bB/A

Other Or Unclassified

Source quality review required

Part B — 13b

(b) i) Construct PDA for the language L = { x € {a , b}*/ na(x) > np(x) } and write the ID for the string abaabbaba (16)

Other Or Unclassified

Source quality review required

Part B — 14a

(a) i) Prove that a CFG is in Chomsky Normal Form (CNF) if every production is of one of these two types A-> BC A->a where A, B and C are variables and a is a terminal symbol (8) ii) Convert the following grammar G with productions to Chomsky Normal Form (8) S-> AACA A-> aAb/A C->aC/a D-> aDa/bDa/A

Other Or Unclassified

Source quality review required

Part B — 14b

(b) i) Draw the transition diagram for a turing machine (TM) accepting the language L ={a'b'/{ <j} and trace it for the acceptance of the following strings i) aabb ii) aaabb (8) ii) Draw a TM that compute the function f(x) = 2x and trace it to compute the following strings i) 111111 ii) 11111 (8)

Other Or Unclassified

Source quality review required

Part B — 15a

(a) i) Define LL(1) parsing and compute First and Fotlow Sets for the given grammars ~ (16) a) . S—+ABc b) S—aSe A->a தனை க.க] A >A B- bBe Boob BoC Bor | C—+cCe Cod

Other Or Unclassified

Source quality review required

Part B — 15b

(b) i) Write the design procedure of shift reduce passer by taking a suitable (16) example.

Other Or Unclassified

Source quality review required

Advanced Examination Analysis

Historical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.