Complete the sentence to explain why intermediate code helps portability.
Intermediate code is a [1] representation of a program that is not tied to any specific machine.
Intermediate code is machine-independent, which means it can be used on different hardware without rewriting the program.
Complete the sentence to describe the role of intermediate code in compilers.
A compiler translates source code into [1] before converting it to machine code.The compiler first creates intermediate code as a step before generating machine code, which helps with portability.
Fix the error in the statement about intermediate code and portability.
Intermediate code must be rewritten for each machine to ensure portability, so it is [1].
Intermediate code is machine-independent, so it does not need rewriting for each machine, enabling portability.
Fill both blanks to complete the explanation of how intermediate code enables portability.
Intermediate code acts as a [1] between source code and machine code, allowing compilers to generate [2] for different machines.
Intermediate code acts as a bridge, enabling the compiler to produce machine-specific code for various machines, which supports portability.
Fill all three blanks to explain the process of using intermediate code for portability.
The source code is first compiled into [1], which is [2] and can be [3] on different hardware by specific compilers.
Source code is compiled into intermediate code, which is machine-independent and can be translated into machine code for different hardware, enabling portability.
