1.

A string is accepted by a PDA when(a) Stack is empty(b) Acceptance state(c) Both (a) and (b)(d) None of the mentionedThis question was addressed to me in an internship interview.I want to ask this question from PDA-Acceptance by Final State in section Push Down Automata of Automata Theory

Answer»

Correct choice is (c) Both (a) and (B)

Easiest explanation: When we reach the acceptance STATE and find the STACK to be empty, we say, the string has been ACCEPTED by the push down automata.



Discussion

No Comment Found

Related InterviewSolutions