Following steps are followed for a program written in a high level language by…
2023
Following steps are followed for a program written in a high level language by a computer – The program is compiled into object program.
Source program is read and loaded in memory.
Compiler reads the program loaded in memory.
Machine language routines for reading and writing data.
Compiler may be removed from memory.
Choose the answer with correct sequence of steps from the options given below:
- A.
2, 3, 1, 4, 5
- B.
5, 4, 3, 2, 1
- C.
3, 2, 1, 4, 5
- D.
4, 5, 1, 2, 3
- E.
Question not attempted
Attempted by 793 students.
Show answer & explanation
Correct answer: A
The correct sequence of steps for compiling a program written in a high-level language is as follows:
The source program is read and loaded into memory.
The compiler reads the program loaded in memory.
The program is compiled into an object program.
Machine language routines for reading and writing data are used during execution.
The compiler may be removed from memory after compilation.