COMPILER DESIGN

INTRODUCTION TO COMPILER DESIGN

COMPILATION PROCESS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Give two advantages of using compiled code over interpreted code
A
Faster to execute
B
Does not require compiler to run
C
Is platform independent
D
Runs instantly without time waiting for compilation
Explanation: 

Detailed explanation-1: -Compiled languages are converted directly into machine code that the processor can execute. As a result, they tend to be faster and more efficient to execute than interpreted languages. They also give the developer more control over hardware aspects, like memory management and CPU usage.

Detailed explanation-2: -Machine code is the only language a computer can process directly without a previous transformation. Currently, programmers almost never write programs directly in machine code, because it requires attention to numerous details that a high-level language handles automatically.

Detailed explanation-3: -Improved performance. Reduced system load. Protection for source code and programs. Improved productivity and quality. Portability of compiled programs. SAA compliance checking.

There is 1 question to complete.