February 13, 2024GATE 2003Question 17 Assume that the SLR parser for a grammar G has n1 states and the LALR parser for G has n2 states. The relationship between […]
February 13, 2024GATE 2003Question 24 Which of the following statements is FALSE? A In statically typed languages, each variable in a program has a fixed type B In un-typed […]
February 13, 2024ParsersQuestion 12 Consider the grammar shown below S → i E t S S' | a S' → e S | ε E → b In […]
February 13, 2024GATE 2003Question 57 Consider the grammar shown below. S → C C C → c C | d The grammar is A LL(1) B SLR(1) but not […]