Skip to content

UGC NET CS 2019Theory of Computation and Compilers › Syntax AnalysisVerified

UGC NET CS 2019 PYQ: Shift-reduce parser consists of input buffer stack parse table Choose the correct option from those given…

Shift-reduce parser consists of

  1. input buffer
  2. stack
  3. parse table

Choose the correct option from those given below:

  1. A
    i and ii only
  2. B
    i and iii only
  3. C
    iii only
  4. D
    i, ii and iii
    Correct answer

Answer

(D) i, ii and iii

Approach

List the components that make up a shift-reduce parser.

Reviewed by UGC IQ Editorial Team.