InterviewSolution
Saved Bookmarks
| 1. |
Which of the following derivations does a top-down parser use while parsing an input string?(a) Leftmost derivation(b) Leftmost derivation in reverse(c) Rightmost derivation(d) Rightmost derivation in reverse |
|
Answer» Right option is (a) Leftmost derivation The best explanation: In top down parser takes input from Left to right constructing leftmost derivation of the sentence. |
|