What is the function or purpose of Cross-compiler?
Difficulty: Hard
- A. A technique that compiles code into machine instructions at runtime rather than before execution.
- B. The use of regular expressions by a lexical analyzer to define and recognize valid tokens.
- C. A property of a formal grammar where a single string can be produced by more than one distinct parse tree.
- D. A compiler capable of creating executable code for a platform other than the one on which the compiler itself runs. ✓
Correct answer
D. A compiler capable of creating executable code for a platform other than the one on which the compiler itself runs.
Correct answer
Source: Compiler Design Official Reference Guide
Tags: computer science, compiler design, compilers, programming languages
Submitted by: MCQsHub Editorial
Related MCQs
- Choose the correct description of Peephole optimization.
- Identify the correct definition of Bytecode.
- A code optimization technique that examines a small set of adjacent instructions to replace them with a more e...
- What term describes the following? a compiler process that verifies whether operations in a program are perfor...
- Just-in-time (JIT) compilation is best defined as which of the following?
- In computer science, Type checking refers to which of the following?