Question 561 – DMA
December 5, 2023Question 15865 – STQC-NIELIT SC-B 2021
December 5, 2023Question 1690 – JT(IT) 2018 PART-B Computer Science
With respect to compiler design, “recursive descent” is a ____ parsing technique that reads the inputs from ____.
Correct Answer: B
Question 6 Explanation:
A recursive descent parser is a kind of top-down parser built from a set of mutually recursive procedures (or a non-recursive equivalent) where each such procedure implements one of the nonterminals of the grammar. Thus the structure of the resulting program closely mirrors that of the grammar it recognizes.
→ Top down parsers reads the input from left to right and bottom up parsers are reads the input from left to right and reverse.
→ Top down parsers reads the input from left to right and bottom up parsers are reads the input from left to right and reverse.
top-down, right to left
top-down, left to right
bottom up, right to left
bottom up, left to right
Subscribe
Login
0 Comments