Select the accurate description of Top-down parsing.
Difficulty: Hard
- 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.
Correct answer
Source: Compiler Design Official Reference Guide
Tags: computer science, compiler design, compilers, programming languages
Submitted by: MCQsHub Editorial
Related MCQs
- What is Bottom-up parsing primarily used for?
- What does Grammar ambiguity refer to?
- Which concept is defined as follows: a parsing strategy that builds a parse tree starting from the input token...
- What is the name for the use of regular expressions by a lexical analyzer to define and recognize valid tokens...
- Which statement correctly explains Loader?
- Which of the following best describes Lexical pattern matching?