- Gyanastra
- Theory of Computation
- Context-Free Grammars
Theory of Computation
Context-Free Grammars: lessons and notes
14 lessons on context-free grammars for GATE CSE, ISRO and UGC NET. Read the first two lessons free, right here; the rest of the chapter is for signed-in learners. Each lesson shows the exam years that asked it and ends with practice questions.
- 1Definition of Grammar (V, T, P, S) and Language Generated by a Grammar6 min read · Asked in past papers: GATE 2026, 2023, 2017, 2016, 2008, 2007, 2006, 2004, 2000, 1995; ISRO 2023, 2020, 2018, 2017, 2015, 2014, 2011; UGC NET 2022, 2019, 2018, 2016, 2015, 2014, 2013, 2012, 2010, 2009, 2007, 2006.Read free
- 2Leftmost and Rightmost Derivations6 min read · Asked in past papers: GATE 2017; ISRO 2020, 2014; UGC NET 2022, 2018, 2016, 2013, 2012, 2009.Read free
- 3Sentential Forms4 min readFree account
- 4Derivation Trees and Yield of a Parse Tree6 min read · Asked in past papers: ISRO 2023, 2020; UGC NET 2022, 2017, 2016, 2015, 2012.Free account
- 5Pass
- 6Pass
- 7Grammar for (a+b)* (All Strings over {a,b})6 min read · Asked in past papers: GATE 2016; UGC NET 2015.Pass
- 8Constructing Grammars for Strings of Length at Least Two6 min read · Asked in past papers: GATE 2000.Pass
- 9Pass
- 10Pass
- 11Pass
- 12Grammar for a^n b^n4 min read · Asked in past papers: GATE 2026, 2023, 2017, 2016, 2014, 2009, 2008, 2001, 2000, 1996, 1995; ISRO 2023, 2018, 2017; UGC NET 2019, 2017, 2014, 2013.Pass
- 13Grammar for Palindromes5 min read · Asked in past papers: GATE 2025, 2021, 2009, 2008, 2006, 2003; ISRO 2020, 2016; UGC NET 2012.Pass
- 14Speed tips and shortcuts4 min readPass