Oops! It appears that you have disabled your Javascript. In order for you to see this page as it is meant to appear, we ask that you please re-enable your Javascript!

Program and Process in operating systems

What is the Program?

A program contains a set of instructions and set of instruction perform some specific task for the user.

A program is stored on secondary storage. For example, a program is stored on a hard disk in the computer.

When we execute the program, the program converts into the process.

What is the process?

The process is the program in execution.

How is a program converted into the process?

The program can be converted into the process by following three actions;

  • Compiler
  • Linker
  • Loader

What is the Compiler?

The compiler converts the high-level language code into the low-level language code or object code.

The compiler creates the .o file.

What is Linker?

Linker converts the object code or low-level language code into the executable code.

The linker creates the .exe file.

What is Loader?

The loader loads the executable code into the main memory and allocates the address space for the process.

A program contains code and data section.

What is the code section of the program?

Code section of the program contains the program instructions or lines of code.

What is the data section of the program?

Data section of the program contains the data of the program.

For example, it contains all the initialized variables in the program etc.

Fazal Rehman Shamil Click Here to Know More
Instructor, Researcher, Blogger, SEO Expert, Poet and Publisher of International Journal Of Software, Technology & Science ISSN : 2616 - 5325
Dear Professors and Resarchers!You are welome to Cite these tutorials in your research or slides etc. Please don't forget to mention the reference of website. Copy Paste of text is strcitly forbidden. Images can be reuse because images are protected with watermark.

Leave a Reply

Your email address will not be published. Required fields are marked *