ICSE Class 9 Computer Applications Question 3 of 30

Introduction to Java — Question 3

Back to all questions
3
Question

Question 3

Describe the traditional compilation process with a suitable diagram.

Answer

In traditional compilation process, the machine language code generated by the compiler is specific to the platform for which the source code is compiled. Every high-level language has a separate platform specific compiler to generate the machine code that can run on the specific platform. For example, the executable file generated by compiling a C++ program on Windows platform will not run on Macintosh. It needs to be compiled with C++ Macintosh compiler. The below diagram illustrates this:

ICSE Logix class 10 solutions illustrating Traditional Compilation Process