Skip to content
Related Articles
Open in App
Not now

Related Articles

UGC-NET | NTA UGC NET 2019 June – II | Question 27

Improve Article
Save Article
  • Last Updated : 03 Dec, 2021
Improve Article
Save Article

Shift-reduce parser consists of
(a) input buffer
(b) stack
(c) parse table
choose the correct option from those given below:
(A) (a) and (b) only

(B) (a) and (c) only

(C) (c) only
(D) (a), (b) and (c)


Answer: (D)

Explanation: SR parser is a bottom up parser. It consists of input buffer, stack, parse table. Where Input buffer is used for storing strings to be parsed, stack is used for holding grammar symbols and parse table is used for parsing the string.

Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!