Sei sulla pagina 1di 2
Reg. No. : V 4549 B.E/B.Tech. DEGREE EXAMINATION, APRIL/MAY 2008. Fifth Semester Computer Science and Engineering CS 1303 — THEORY OF COMPUTATION (Regulation 2004) Time : Three hours Maximum : 100 marks 10. Answer ALL questions. PARTA (10x 2= 20 marks) Define automaton. What is the principle of mathematical induction? Construct a DFA for the regular expression aa*/bb*, Construct a DFA over © = (a, b) which produces not more than 3 a’s. Let S — aB/bA A aS/bAA/a B- bS/aBBh. Derive the string aaabbabba as left most derivation. What is meant by empty production removal in PD. State the pumping lemma for CFG. Define turing machine What is meant by halting problem, What is post correspondence problem? uu. 12. 13. uu. 15. fa) (b) (a) (b) (a) (b) (a) ) (a) (b) PART B — (6 x 16 = 80 marks) (Prove that for every integer 20 the nnmher 4°43" is a multiple of 13, (8) (ii) Construct a DFA that will accept strings on {a,b} where the number of b's divisible by 3. (8) Or Construct a finite automaton that accepts the set of all strings in {a,b,c}’ such that the last symbol in input string appears earlier in the string, (16) Construct a regular expression to the transition diagram. (a6) Or Construct a N¥A for the regular expression (a/b)*abb and draw its equivalent DFA. (16) Construct a CFG accepting L={e"d"/n 0}. (16) Or Determine whether the language given by L={a"" /n 21} is context free or not. 16) Prove that the function /,gs(,y)=* + y is primitive recursive. a6) Or Show that there exists a TM for which the halting problem is unsolvable. (16) 2 Vv 4549

Potrebbero piacerti anche

  • Toc MJ07
    Toc MJ07
    Documento4 pagine
    Toc MJ07
    chituuu
    Nessuna valutazione finora
  • PCD ND07
    PCD ND07
    Documento3 pagine
    PCD ND07
    chituuu
    Nessuna valutazione finora
  • PCD Am08
    PCD Am08
    Documento3 pagine
    PCD Am08
    chituuu
    Nessuna valutazione finora
  • MG1351 POM Nov/Dec Question Paper
    MG1351 POM Nov/Dec Question Paper
    Documento2 pagine
    MG1351 POM Nov/Dec Question Paper
    sinisterlm
    Nessuna valutazione finora
  • Toc Am08
    Toc Am08
    Documento2 pagine
    Toc Am08
    chituuu
    Nessuna valutazione finora
  • MPMC ND07
    MPMC ND07
    Documento2 pagine
    MPMC ND07
    chituuu
    Nessuna valutazione finora
  • PCD Am08
    PCD Am08
    Documento3 pagine
    PCD Am08
    chituuu
    Nessuna valutazione finora
  • Document
    Document
    Documento1 pagina
    Document
    chituuu
    Nessuna valutazione finora
  • Document
    Document
    Documento1 pagina
    Document
    chituuu
    Nessuna valutazione finora
  • Document
    Document
    Documento1 pagina
    Document
    chituuu
    Nessuna valutazione finora
  • Document
    Document
    Documento1 pagina
    Document
    chituuu
    Nessuna valutazione finora
  • Ai Am08
    Ai Am08
    Documento3 pagine
    Ai Am08
    chituuu
    Nessuna valutazione finora
  • DBMS MJ07
    DBMS MJ07
    Documento3 pagine
    DBMS MJ07
    chituuu
    Nessuna valutazione finora
  • CS1302 CN 2008 Question Paper
    CS1302 CN 2008 Question Paper
    Documento3 pagine
    CS1302 CN 2008 Question Paper
    sinisterlm
    Nessuna valutazione finora
  • Toc MJ07
    Toc MJ07
    Documento4 pagine
    Toc MJ07
    chituuu
    Nessuna valutazione finora
  • PCD ND07
    PCD ND07
    Documento3 pagine
    PCD ND07
    chituuu
    Nessuna valutazione finora