GATE 2026 CS1 Question 52 – Theory of Computation
Consider the following context-free grammar 𝐺. 𝑆→𝑎𝑏𝑎𝐴𝐵𝐴𝑏𝑏𝑎 𝐴→𝑎𝑎𝐵𝐵𝐴𝑏 | 𝑏𝐵𝑎𝑏𝑎𝑎 𝐵→𝑎𝐵𝑏 | 𝑎𝑏 In the above grammar, 𝑆 is the start symbol,…
Read more →Consider the following context-free grammar 𝐺. 𝑆→𝑎𝑏𝑎𝐴𝐵𝐴𝑏𝑏𝑎 𝐴→𝑎𝑎𝐵𝐵𝐴𝑏 | 𝑏𝐵𝑎𝑏𝑎𝑎 𝐵→𝑎𝐵𝑏 | 𝑎𝑏 In the above grammar, 𝑆 is the start symbol,…
Read more →Consider the following grammar where 𝑆 is the start symbol, and 𝑎 and 𝑏 are terminal symbols. 𝑆 →𝑎𝑆𝑏𝑆 ∣ 𝑏𝑆 ∣…
Read more →Ask a study question in English or Hindi. I will find relevant passages from our notes.