

InterviewSolution
Saved Bookmarks
1. |
Which of the following can be accepted by a DPDA?(a) The set of even length palindrome over {a,b}(b) The set of odd length palindrome over {a,b}(c) {xx^c| where c stands for the complement,{0,1}}(d) None of the mentionedThe question was posed to me during an interview.My enquiry is from From Grammars to Push Down Automata in section Push Down Automata of Automata Theory |
Answer» RIGHT answer is (d) None of the mentioned Explanation: THEOREM: The language PAL of palindromes over the ALPHABET {0,1} cannot be ACCEPTED by any finite automaton , and it is therefore not regular. |
|