May 17, 2024Question 11788 – Compiler-DesignAn example for a pattern – scanning language is : Correct Answer: A Question 341 Explanation: An example for a pattern – scanning language is lex. […]
May 17, 2024Question 11791 – Compiler-DesignConsider the grammar S→AS/b A→SA / a then Closure (S’→.S,$) is: Correct Answer: A Question 343 Explanation: The given grammar is S → AS|b A → […]
May 17, 2024Question 13919 – Compiler-DesignWhich of the following grammars is (are) ambiguous? (A) s → ss | asb | bsa | λ (B) s → asbs | bsas | λ […]
May 17, 2024Question 7934 – Theory-of-ComputationConsider the following languages over the alphabet Σ = {a, b, c}. Let L1 = {an bn cm│m,n ≥ 0} and L2 = {am bn cn│m,n […]