1.

A language accepted by Deterministic Push down automata is closed under which of the following?(a) Complement(b) Union(c) Both (a) and (b)(d) None of the mentionedThe question was posed to me during a job interview.This intriguing question originated from Deterministic PDA in portion Push Down Automata of Automata Theory

Answer»

The correct choice is (a) Complement

Easiest explanation: Deterministic CONTEXT free LANGUAGES(one accepted by PDA by FINAL state), are drastically different from the context free languages. For example they are closed under COMPLEMENTATION and not union.



Discussion

No Comment Found

Related InterviewSolutions