GATE 2026 set1 Computer Science and Information Technology question: Consider the following context-free grammar G. S abaABAbba A aaBBAb bBabaa B aBb ab In…
Consider the following context-free grammar .
In the above grammar, is the start symbol, and are terminal symbols, and and are non-terminal symbols.
Let be the language generated by the grammar . For a string , let be the number of ’s in and be the number of ’s in .
Which of the following statements is/are true?
Show answer
Official answer: B,D