Question:

Which derivation is generated by the top-down parser?

Show Hint

Top-down = leftmost derivation; bottom-up = rightmost derivation in reverse.
Updated On: June 02, 2025
  • Right most derivation in reverse
  • Left most derivation
  • Right most derivation
  • Left most derivation in reverse
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Top-down parsers build the parse tree from the root, choosing leftmost derivations first.
Was this answer helpful?
0
0

TS PGECET Notification