April / May 2014
FORMAL LANGUAGE & AUTOMATA
Anna University
1 question papers available. Select an examination session to view its question paper.
FORMAL LANGUAGE & AUTOMATA
Based on available extracted papers. Question groups and frequency are provisional, not official syllabus weightage or examination predictions.
Define DFA.
0 eligible source papersDefine the principal of Mathematical induction.
1 eligible source papersWrite the regular expression for the language of all string containing exactly two zeros.
1 eligible source papersList all the closure property of regular language.
1 eligible source papersDefine A-closure on any state.
1 eligible source papersLet G be the grammer S-> aB / bA, A->a /aS / bAA, B-> b / bS / aBB. For tne string aaabbabbba find a leftmost derivation.
1 eligible source papersDefine normal forms.
1 eligible source papersWhat are different ways in which a PDA accepts a language?
1 eligible source papersWhen the language is said to be recursive or recursively enumerable?
1 eligible source papersWrite the programming techniques of Turing machine?
1 eligible source papers(i)Design a Turing machine that accepts both odd and length palindrome string. (8) (ii) Write the moves o validate the following string by tracing the above design, 1)ababa 2) aaba (8) 1 2 ' a ) Draw an NFA-A recognizing the language (0+1)* (01)* and convert to Finite automata (16)
0 eligible source papersb) (i) Let P(n) be the statement 1+2+3+...+n=n(n+1)/2. Show that P(n) is true for every n >=0 (8) (ii)Prove that L = { Oi 1i} is not a regular language using pumping lemma (8)
0 eligible source papersa) (i) Write the procedure to find the regular expression for the finite automata (8) (ii) find a regular expression for FA given in Figure 1 (8) Figure 1
0 eligible source papersb) (i) Write the procedure to minimize the finite automata (8) (ii) Minimize the finite automata given in Figure 2 <8) Figure 2
0 eligible source papersa) (i) Define Ambiguous Grammer? Show that the CFG with the following productions is Ambiguous S-> a/Sa/bSS / SSb/SbS (8) (ii) Convert the following production to CNF S-> AB / BaB A-> aA / Ba / aa B-> bBb / a (8) b) (i) Convert the following production to GNF (8) E -> E+T / T T-> T*F / F F-> (E) / id (ii) Construct a TM to compute the function f(x) = x + 2 where the inputxbe represented in Unary notation (8)
0 eligible source papersa) Consider a grammer with the following productions: S -* AB, A —» aAa, A —> e, B -> bBb, B -•£. Is this grammar LL(1)? Check for a string aabb C L or not? (16) b) Explain bottom-up parser with an example (16)
0 eligible source papersHistorical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.