GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2023

GATE 2023 · CS · MCQ · 2 marks · Theory of Computation › Pushdown Automata

GATE 2023 Computer Science and Information Technology question: Consider the pushdown automaton (PDA) P below, which runs on the input alphabet \ a, b\…

Consider the pushdown automaton (PDA) below, which runs on the input alphabet , has stack alphabet , and has three states , with being the start state. A transition from state to state , labelled , where is an input symbol or , is a stack symbol, and is a string of stack symbols, represents the fact that in state , the PDA can read from the input, with on the top of its stack, pop from the stack, push in the string on the stack, and go to state . In the initial configuration, the stack has only the symbol in it. The PDA accepts by empty stack.

figure

Which one of the following options correctly describes the language accepted by ?

  1. (A)

  2. (B)

  3. (C)

  4. (D)

Show answer

Official answer: A

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion