Header Ads

ad728
  • Latest

    From PDA to Grammars Multiple Choice Questions with Answers



    Automata Theory Multiple Choice Questions & Answers (MCQs) focuses on “From PDA to Grammars”.


    1. The instantaneous PDA is has the following elements
    a) State
    b) Unconsumed input
    c) Stack content
    d) All of the mentioned
    View Answer




    2. The moves in the PDA is technically termed as:
    a) Turnstile
    b) Shifter
    c) Router
    d) None of the mentioned
    View Answer


    3. Which of the following option resembles the given PDA?
    automata-theory-questions-answers-from-pda-grammars-q3
    a) {0n1n|n>=0}
    b) {0n12n|n>=0}
    c) {02n1n|n>=0}
    d) None of the mentioned
    View Answer


    4. Which of the following correctly resembles the given state diagram?
    automata-theory-questions-answers-from-pda-grammars-q4
    a) {wwr|w=(a+b)*}
    b) ε is called the initial stack symbol
    c) Both (a) and (b)
    d) None of the mentioned
    View Answer




    5. Which of the following assertion is false?
    a) If L is a language accepted by PDA1 by final state, there exist a PDA2 that accepts L by empty stack i.e. L=L(PDA1)=L(PDA2)
    b) If L is a CFL then there exists a push down automata P accepting CF; ; by empty stack i.e. L=M(P)
    c) Let L is a language accepted by PDA1 then there exist a CFG X such that L(X)=M(P)
    d) All of the mentioned
    View Answer


    6. A push down automata can represented using:
    a) Transition graph
    b) Transition table
    c) ID
    d) All of the mentioned
    View Answer


    7. State true or false:
    Statement: Every context free grammar can be transformed into an equvalent non deterministic push down automata.
    a) true
    b) false
    View Answer




    8. Which of the following statement is false?
    a) For non deterministic PDA, equivalence is undecidable
    b) For deterministic PDA, equivalence is decidable
    c) For deterministic PDA, equivalence is undecidable.
    d) None of the mentioned
    View Answer


    9. Which of the following are the actions that operates on stack top?
    a) Pushing
    b) Popping
    c) Replacing
    d) All of the mentioned
    View Answer


    10. A push down automata is said to be _________ if it has atmost one transition around all configurations.
    a) Finite
    b) Non regular
    c) Non-deterministic
    d) Deterministic
    View Answer








    No comments

    Post Top Ad

    ad728

    Post Bottom Ad

    ad728