Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Operating System Expert

What is an operating system process? How is it different from a program? Why do we need the concept of a process, rather than simply talk about programs running in memory?

The execution environment in which the class instances and the instances of subsystems run and reside and its unique address space is combined known as Operating system process. The execution environment may be divided into one or more threads of control.

Difference between program & operating system process

 The process may be called the active state of a program. It also gives the status of given task mentioned in that particular program, it provides the information to main memory about the task's state and other details, for example the position it has executed up-to that instance. It keeps track of the status of registers and instances of the resources it hold and required resources, what cost it incurs on the CPU after it is done with its work.

Program is an active entity, it can be seen as the overall information on what has to be done with CPU and other resources which are likely to be needed or liable to complete that given task. In some cases it simply is a combination of Lighten weight processes (known as threads) and thick weight processes as we may require running various modules of different programs in some single program. Thus the process is similar to a platform on CPU for executing various tasks of given program and part of the main set of process. 

Why do we need the concept of a process? 

Processes are inert. We know that process is basically the active state of a program which is the set of instruction destined to execute some specific job. Prior to execution, the instructions must be converted to binary code form in order to be understood by loader OS. It is stored in Portable Executable (PE) Format on Secondary Memory Like hard disk. in windows this is generally the file with .exe extension.

A process consists of a kernel object which keeps statistical information about the process and an address space containing the entire executable or DLL module's code, data and dynamic memory allocations such as thread stacks and heap allocations.

The code contained in the process's address space is run by a thread of the process

One process may contain n number of threads, and all of them execute the code simultaneously in the address space of the process. Each thread has its own set of stack and CPU registers.

If no threads were executing the code in the process's address space the system would automatically destroy the process and its address space.

Operating System, Computer Science

  • Category:- Operating System
  • Reference No.:- M9503672

Have any Question?


Related Questions in Operating System

Question research hex editors available for mac os and

Question : Research hex editors available for Mac OS and Linux. Based on the documentation, how easy would validating these tools be? Select at least two hex editors for each OS, and discuss what you would do to validate ...

Research types of operating systems that are currently

Research types of operating systems that are currently available and provide a scenario in which the operating system you chose would be appropriate to be used in this situation. Explain why you think the choice you made ...

Question description of lasa in this assignment you will

Question: Description of LASA: In this assignment, you will select a real-world operating system (can be for a PC, server, tablet, handheld, or embedded device). You will introduce the operating system and its components ...

Discussion question this research assignment will give

Discussion Question : This research assignment will give further information on the nature and workings of multi-tasking and multi-processing operating systems. All information reported in this assignment is to be in the ...

Taskyour job in this assignment is to create two virtual

Task Your job in this assignment is to create two Virtual machines each running a different but the latest distribution of Linux e.g. Ubuntu Server and CentOS. Each of these VM's is to offer services to a user base. The ...

Question students working at individual pcs in a computer

Question : Students working at individual PC's in a computer laboratory send their files to be printed by a server that spools the files on its hard disk. Under what conditions may a deadlock occur if the disk space for ...

Assignment -building a multi-threaded web server using c

Assignment - Building a multi-threaded web server using C and p threads, following the model from the lecture. Your program will have one thread acting as a dispatcher thread, listening fornetwork connections with reques ...

State the required answer precisely and then provide proper

State the required answer precisely and then provide proper explanation. It is not enough to provide one- word or one-line answers. Consider a computer embedded in the control of a manned spacecraft. Would it require an ...

Question you are a security administrator responsible for

Question: You are a security administrator responsible for providing secure configuration requirements for new laptop deployments. After reading Module 2 of Certified Secure Computer User v2exercises, apply the configura ...

State the required answer precisely and then provide proper

State the required answer precisely and then provide proper explanation. It is not enough to provide one- word or one-line answers. Briefly describe the following concepts and indicate how they are related in the context ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As