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

Assignment Help:
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

Related Discussions:- explain Process States and Process Control Block (PCB)

Explain with diagram the internal components of alu, Problem 1. Explain...

Problem 1. Explain with diagram the internal components of ALU. Diagram Explaining Internal components 2. What is addressing mode? Explain any five addressing mo

Use photoshop to create the images, Use the skills that you have learned in...

Use the skills that you have learned in Photoshop to create the following images that could be used in your upcoming web project. All images should be cohesive and complement each

Database, Q1: ER modelling & logical design. An information system is requi...

Q1: ER modelling & logical design. An information system is required for an online auction site, based on the following speci?cation: Only registered users can use the site. Privat

CAI, What is CAI? Explain its pitfalls.

What is CAI? Explain its pitfalls.

Telecommunications standards, TELECOMMUNICATIONS STANDARDS: They are d...

TELECOMMUNICATIONS STANDARDS: They are defined internationally by the CCITT (Consultative Committee for International Telegraphy and Telephones), but to deal with the rapidly

Random access memory (ram), RANDOM ACCESS MEMORY (RAM): The RAM-type me...

RANDOM ACCESS MEMORY (RAM): The RAM-type memory will allow data to be written into it, as well as read from it. With very few exceptions, RAMS lose their contents when the powe

Types of computer, types of computer on the basis of shape, size & resource...

types of computer on the basis of shape, size & resources

C++ programming, write a program of 2 sum and 2 product number in C++ progr...

write a program of 2 sum and 2 product number in C++ programming language

Ip basics, IP provide connectionless service to upper layer IP protocol is ...

IP provide connectionless service to upper layer IP protocol is very simple could not guarantee the reliability of transportations IP protocol is Point to Point IP provide the unif

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd