Compiler Theory | Set 1 - GeeksforGeeks
1. Which of the following derivations does a top-down parser use while parsing an input string? The input is assumed to be scanned in left to right order (GATE CS 2000).
(a) Leftmost derivation
(b) Leftmost derivation traced out in reverse
(c) Rightmost derivation
(d) Rightmost derivation traced out in reverse
Answer (a)
Read full article from Compiler Theory | Set 1 - GeeksforGeeks
No comments:
Post a Comment