StreakPeaked· Practice

ExamsGATETechnical

Which ONE of the following languages is accepted by a deterministic pushdown automaton?

  1. Any regular language.
  2. Any context-free language.
  3. Any language accepted by a non-deterministic pushdown automaton.
  4. Any decidable language.

Correct answer: Any regular language.

Solution

A deterministic pushdown automaton can recognize all regular languages because these languages can be represented by finite automata, which are a subset of the capabilities of deterministic pushdown automata.

Related GATE Technical questions

⚔️ Practice GATE Technical free + battle 1v1 →