A compiler for a high-level language that runs on one machine and produces code for another machine is called a
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: A. Cross compiler
Explanation
A cross compiler runs on a host machine and generates code for a different target machine.More Theory of Computation and Compilers questions
- Shift-reduce conflicts are resolved by:
- Match List I with List IIList I List II A. A → aB | a (a ∈ T; A, B ∈ V) I. Recursive Descent Parser B. A → BC | a (a ∈ T; A, B, C ∈ V) II.…
- Which of the following is a function of the semantic analysis phase of compilation?
- For regular languages and context-free languages, which is NOT correct? A. Both are closed under union B. Both are closed under concatenati…
- Match List I with List IIList I List II A. Back Tracking I. Automata B. Infinite languages with matching numbers II. Undecidable Problem C.…
- An ambiguous grammar is one which has: A. More than one derivation B. More than one leftmost derivation C. More than one rightmost derivati…