Arrange the following phases of a compiler as per their order of execution (start to end)
(A) Target code generation
(B) Syntax Analysis
(C) Code optimization
(D) Semantic Analysis
(E) Lexical Analysis
Choose the correct answer from the options given below:
1
(B), (E), (D), (A), (C)
2
(E), (D), (B), (A), (C)
3
(E), (B), (D), (C), (A)
4
(B), (D), (E), (A), (C)