1.

State true or false:Statement: The operations of PDA never work on elements, other than the top.(a) Statement: The operations of PDA never work on elements, other than the top.(b) true(c) falseThe question was asked during an internship interview.My question is based upon PDA-Acceptance by Final State topic in division Push Down Automata of Automata Theory

Answer»

Right choice is (a) Statement: The operations of PDA NEVER work on elements, other than the top.

For explanation I WOULD say: The term pushdown refers to the fact that the elements are pushed down in the stack and as PER the LIFO principle, the operation is always performed on the top ELEMENT of the stack.



Discussion

No Comment Found

Related InterviewSolutions