Specify the various processing steps that are needed in exact sequence when any existing high level source program lika a C program file stored on Disc is to be executed on a PC. Clearly mention the various system Software modulus clearly high lighting their roles.

When we want to execute a high level source program in disk, the following steps are performed:-

(i) Load the program from hard disk to primary memory.

(ii) Compiler is used to translate the program. Compiler generates an executable file and store it in disk.

(iii) Loader is then activated to load the program into primary memory at appropriate locations.

(iv) Linker is then activated to link various modules of the program.

(v) Program control is transferred to appropriate location within the program so that execution can start.

Post a Comment