What is Bottom-up parsing primarily used for?
Difficulty: Medium
- A. The part of a compiler responsible for analyzing source code, including lexical, syntax, and semantic analysis.
- B. A parsing strategy that builds a parse tree starting from the input tokens and working up toward the start symbol. ✓
- C. A compiler capable of creating executable code for a platform other than the one on which the compiler itself runs.
- D. A parsing strategy that builds a parse tree starting from the start symbol and working down toward the input tokens.
Correct answer
B. A parsing strategy that builds a parse tree starting from the input tokens and working up toward the start symbol.
Correct answer
Source: Compiler Design Official Reference Guide
Tags: computer science, compiler design, compilers, programming languages
Submitted by: MCQsHub Editorial
Related MCQs
- Which statement correctly explains Loader?
- Select the accurate description of Top-down parsing.
- Select the correct name for: a program that loads an executable file into memory and prepares it for execution...
- Which term refers to a property of a formal grammar where a single string can be produced by more than one dis...
- In computer science, Linker refers to which of the following?
- What does Grammar ambiguity refer to?