Home » Theory of Computation » Theory of computation miscellaneous » Question

Theory of computation miscellaneous

Theory of Computation

  1. Consider the transition diagram of a PDA given below with input alphabet ∑ = {a, b} and stack alphabet Γ = {X, Z}. Z is the initial stack symbol. Let L denote the language accepted by the PDA.

    Which one of the following is TRUE?
    1. L = { an bn |n ≥ 0 } and is not accepted by any finite automata
    2. L = { an | n ≥ 0 } ∪ { an bn | n ≥ 0 } and is not accepted by any deterministic PDA
    3. L is not accepted by any Turing machine that halts on every input
    4. L = { an |n ≥ 0 } ∩ { an bn | n ≥ 0 } and is deterministic context-free
Correct Option: D

Initial state is also the final state. So an is also accepted.



Your comments will be displayed only after manual approval.