Which of the following is a phase of a compilation process
A. Lexical analysis
B. Code generation
C. Both of the above
D. Static analysis
E. None of the above
Answer: Option C
Solution(By Examveda Team)
Compiler operates in various phases each phase transforms the source program from one representation to another. Every phase takes inputs from its previous stage and feeds its output to the next phase of the compiler.There are 6 phases in a compiler. Each of this phase help in converting the high-level langue the machine code. The phases of a compiler are:
I. Lexical analysis
II. Syntax analysis
III. Semantic analysis
IV. Intermediate code generator
V. Code optimizer
VI. Code generator
Related Questions on Operating System
If there are multiple recycle bin for a hard disk
A. You can set different size for each recycle bin
B. You can choose which recycle bin to use to store your deleted files
C. You can make any one of them default recycle bin
D. None of above
A. You can find deleted files in recycle bin
B. You can restore any files in recycle bin if you ever need
C. You can increase free space of disk by sending files in recycle bin
D. You can right click and choose Empty Recycle Bin to clean it at once
If the displayed system time and date is wrong, you can reset it using
A. Write
B. Calendar
C. Write file
D. Control panel
Join The Discussion