Identify the correct logical sequence for programming :
1.Compilation
2.Editing
3.Linking
4.Execution
A4, 2, 1, 3
B1, 2, 4, 3
C1, 2, 3, 4
D2, 1, 3, 4 ✓ Correct
Correct answer: (D) 2, 1, 3, 4
Explanation
Editing comes first because the programmer writes and saves the source code.
Compilation follows, turning the edited source code into object code.
Linking then combines the object code with libraries into an executable file.
Execution runs the final program to produce output.
The order Statement 2, Statement 1, Statement 3, Statement 4 reflects this build pipeline.
An interpreter differs by translating and running code line by line without a separate link stage.
Want more like this? Create a free account to practise a full test, track your progress, and get spaced-repetition review.
Practise on Mcqkart →🎓 Book an expert →