Back to the 2021 paper
Similar questions
Formal Language & Automata TheoryLet G be a context-free grammar in Chomsky normal form that contains b variable. Show that if G generates some string using a derivation with at least 2^b steps, then L(G) is infinite.20217mFORMAL LANGUAGE & AUTOMATA THEORYProve that if L is accepted by a PDA, then L can be generated by a CFG.20227mFormal Language & Automata TheoryProve that if L is generated by a CFG, then L is accepted by a non-deterministic PDA by empty stack.20207m Compiler DesignChoose the correct answer of the following: To convert an arbitrary CFG to an LL(1) grammar (i) factor the grammar alone (ii) remove left recursion alone (iii) remove left recursion and factor the grammar (iv) None of the above20192m