UGC-NET | NTA UGC NET 2019 June – II | Question 27
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
Last Updated :
03 Dec, 2021
Like Article
Save Article
Share your thoughts in the comments
Please Login to comment...