MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPILER DESIGN

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of these is not a stage in the compilation process:
A
LEXICAL ANALYSIS
B
CODE OPTIMISATION
C
OBJECT CODE GENERATION
D
SOURCE CODE GENERATION
Explanation: 

Detailed explanation-1: -Which of the following is not a phase in the compilation process? Explanation: Program Execution is not a part of the compilation process, it comes after the compilation process is complete. Explanation: A lexer scans the source code and breaks it down into tokens, which are the basic building blocks of the language.

Detailed explanation-2: -At an overview level, the process can be split into four separate stages: Preprocessing, compilation, assembly, and linking.

Detailed explanation-3: -Following the stages of lexical, syntax, and semantic analysis, a separate program is created that is distinct from the original source code.

There is 1 question to complete.