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
Netbooks: Netbooks are special type of Laptop which is very  light and small. Due to its size and weight it is very portable and one may carry it very easily. Dissimilar to La

Programming Assignment CS252 Spring 2014 Write an ARM assembly language subroutine that performs according to the following specification (Caesar cypher). Given a mixed case al

SYSTEMS SOFTWARE Systems Software generally is the software which control the computers and other peripherals. Ex: MS DOS, Windows 95, Unix, NetWare and Windows NT et

Assume |s1|=|s2|=n and consider the functions defined, for any s1 and s2, as: (a) G1(s1,s2)=s1 xor s2, (b) G2(s1,s2)=(s1, s2, s1 xor s2). We have that: A. G1 and G2 are pseudo-ra

Optical disk storage and cd - ROM: Optical disk storage is relatively new alternative to magnetic storage. Digital data is burnt into the surface of a plastic disk coated with

what problems does one encounter when you have more pipelines?

to do a assignment regarding IPC in linux

Interpreter: An interpreter is a program that translates each statement in the programming language into machine code and runs it.  Such an arrangement means that to run the

The technique to mix C and assembly language is to apply the "asm" directive. To access C-language variables from assembly language, you just use the C identifier that name is a me

Question (a) What is a view? (b) Can we use a view to insert or update a record into a table? Do we have any limitation to perform the above command? (c) The syntax to cr