February 13, 2024Compiler-DesignQuestion 50 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, 2024Compiler-DesignQuestion 48 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, 2024Compiler-DesignQuestion 46 Consider the grammar shown below S → i E t S S' | a S' → e S | ε E → b In […]
February 13, 2024Compiler-DesignQuestion 47 Consider the grammar shown below. S → C C C → c C | d The grammar is A LL(1) B SLR(1) but not […]