Question 6025 – UGC NET CS 2008 Dec-Paper-2
January 20, 2024Question 6030 – UGC NET CS 2008 Dec-Paper-2
January 20, 2024Question 17402 – ISRO CS-2023
Consider the context-free grammar G below for arithmetic expressions :
E->E+E|E*E|id
Which of the following statements is TRUE:
Correct Answer: C
The string “id + id x id” has no parse tree according to G
The string “id + id x id” has only one parse tree according to G
The string “id + id x id” has exactly two parse trees according to G
The string “id + id x id” has more than two parse trees according to G
Subscribe
Login
0 Comments