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)

History , when was the first computer made

when was the first computer made

Simple batch systems, Simple Batch Systems: Early machines were very...

Simple Batch Systems: Early machines were very expensive, and therefore it was important to maximize machine utilization. To improve utilization, the concept of batch operat

Computers, Computers One of the most  important invention in the desig...

Computers One of the most  important invention in the design of digital  circuits  is that  of the general- purpose "stored program" computer or device. Computers are a partic

Operation system, how to create 1000 random processes with time scales betw...

how to create 1000 random processes with time scales between 10 to 400 milliseconds

C, A palindrome is a string that reads the same from both the ends. Given a...

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

Explain the working of bus connection, Question 1 Explain the working of B...

Question 1 Explain the working of Bus connection Question 2 Write a note on: Robotics and Voice Recognition Question 3 Describe the construction of CD-ROM Question 4

Sma* search - artificial intelligence, SMA* Search-Artificial intelligence ...

SMA* Search-Artificial intelligence IDA* search is good from a memory point of view. actually it may  be criticised for not using enough memory - utilizing  more memory may inc

Embedded operating systems, Embedded Operating Systems, Devices have EOS bu...

Embedded Operating Systems, Devices have EOS built-in, OPERATING SYSTEM embed on the System itself, Cell phones, PDAs, medical equipment Fast, Application specific Stable a

Operation research, origin,nature and impact of operation research

origin,nature and impact of operation research

Design problem, Design Problem 1. Implement a basic file system managed fr...

Design Problem 1. Implement a basic file system managed from within a file. The file system should have the following capabilities: i. List files stored along with their sizes.

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