Let be the set of all languages accepted by a PDA by final state and the set of all languages accepted by empty stack. Which of the following is true?
View worked solution
Answer: A
The question asks about the relationship between the class of languages accepted by Pushdown Automata (PDAs) using two different acceptance criteria:
- : The set of all languages accepted by a PDA by final state. This is precisely the class of Context-Free Languages (CFLs).
- : The set of all languages accepted by a PDA by empty stack. This is also precisely the class of Context-Free Languages (CFLs).
For any context-free language , we can construct a PDA that accepts by final state, and we can also construct a PDA that accepts by empty stack. Thus, the expressive power of both acceptance mechanisms is identical.
Therefore, the set of languages defined by both classes is the same:
Hence, the correct option is A.
Free practice · Your answers on this page are not saved.
