explain Process States and Process Control Block (PCB), Basic Computer Science

Process States
Throughout the lifespan of a process, its execution position may be in one of four states: (linked with each state is generally a queue on which the process resides)
1. Executing: the process is at present running and has control of a CPU
2. Waiting: the process is at present able to run, but must wait until a CPU becomes available
3. Blocked: the process is at present waiting on I/O, either for input to arrive or output to be sent
4. Suspended: the process is at present able to run, but for some reason the OS has not placed the process on the prepared queue
5. Ready: the process is in memory, will execute specified CPU time.
Process Control Block (PCB)
If the OS allows multiprogramming, then it requires keeping track of all the processes. For every process, its process control block PCB is used to track the process''s execution status, together with the following:
1. Its present processor register contents
2. Its processor state (if it is blocked or set)
3. Which resources have been allocated to it
4. Its memory state
5. A pointer to its stack

6. Which resources it needs
Posted Date: 5/2/2012 5:54:44 AM | Location : United States

Related Discussions:- explain Process States and Process Control Block (PCB), Assignment Help, Ask Question on explain Process States and Process Control Block (PCB), Get Answer, Expert's Help, explain Process States and Process Control Block (PCB) Discussions

Write discussion on explain Process States and Process Control Block (PCB)
Your posts are moderated
Related Questions
Specifying Search Problems In our agent terms, a problem to be solved is a particular task where the agent starts with the environment in a given state and acts upon the enviro

The difference between kernel mode and user mode gives a rudimentary form of security in the following manner. Convinced instructions could be executed only when the CPU is in kern

Analog Transmission: In analog transmission, there is a continuous up and down pattern. For example, one wave constitutes one cycle, which is measured in the unit called Hertz

QUESTION a) Clearly explain three main issues arising in the design of components for use in Intranets. b) Explain the term "location-aware Computing". c) The Internet en

• The SRT is the preemptive complement of SJF and helpful in time-sharing environment. • In SRT scheduling, the process with the least estimated run-time to completion is run next,

Disadvantages of Manual Records  More manpower is required to record/storelretrieve the data.   Bulky paper records take up more space and this problem increases with

what is meant by deliverable in strus base applications

Electronic mail is another PC to PC and PC to mainframe data exchange. If you subscribe to an electronic mail service, it will enable your PC to gain access to a 'mailbox' on a ma

APPLICATION PACKAGES : There are two options. You can either write your own program or buy an applications package, i.e. a proprietary program, 'off-the-shelf. The former option i

Library function :   These are the functions supplied with the programming language. The code or definition of library functions does not have to be written in a user program w