(a) Design a DFA {deterministic finite automaton) to accept the language (16) Q* 1 (0*10*1)*0*
DesignSource quality review required
Anna University
| 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 |
Access the previous year question paper for your examination preparation.
View / Download PDFBrowse other previous year question papers for this subject.
View All Subject Question PapersAutomatically extracted historical question data. Academic accuracy and examination rules require verification.
Section marks require review. Marks charts are withheld.
Detected alternatives only. Confirm the actual choice rules in the original question paper.
(a) Design a DFA {deterministic finite automaton) to accept the language (16) Q* 1 (0*10*1)*0*
DesignSource quality review required
(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 UnclassifiedSource quality review required
(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 UnclassifiedSource quality review required
(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 UnclassifiedSource quality review required
(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 UnclassifiedSource quality review required
(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 UnclassifiedSource quality review required
(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 UnclassifiedSource quality review required
(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 UnclassifiedSource quality review required
(b) i) Write the design procedure of shift reduce passer by taking a suitable (16) example.
Other Or UnclassifiedSource quality review required
Historical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.