Select the accurate description of Top-down parsing.
- A. A program that loads an executable file into memory and prepares it for execution.
- B. A parsing strategy that builds a parse tree starting from the start symbol and working down toward the input tokens. ✓
- C. A program that combines multiple object files generated by a compiler into a single executable program.
- D. A property of a formal grammar where a single string can be produced by more than one distinct parse tree.
Correct answer
B. A parsing strategy that builds a parse tree starting from the start symbol and working down toward the input tokens.
Explanation
Top-down parsing refers to a parsing strategy that builds a parse tree starting from the start symbol and working down toward the input tokens.