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)

What is blu-ray disk, Question 1 Explain the configuration steps involved ...

Question 1 Explain the configuration steps involved in CMOS setup Date and time Error halt Floppy drive A Halt on Hard disk C HDD Delay Keyboard Memory

Arinc 429 data bus specifications, ARINC 429 DATA Bus SPECIFICATIONS: A...

ARINC 429 DATA Bus SPECIFICATIONS: ARINC 429 sets specifications for the transfer of digital data between aircraft electronic system components and is a "One-way" communication

How to assign Values to Variables in python?, ython variables do not compri...

ython variables do not comprise to be explicitly declared to already reserve memory space. The declaration occurs automatically when you allocate a value to a variable. The equal s

Definition of procedure, A procedure is a compilation of instructions to wh...

A procedure is a compilation of instructions to which we can express the flow of our program, and once the execution of these instructions is over power is given back to the next l

Packet switching, Packet Switching: This is one of recent techniques o...

Packet Switching: This is one of recent techniques of switching. Packet switching was originally developed for use by ARPA network by the Defence Department of US. According t

Alternative approaches for acquiring software, Alternative approaches for a...

Alternative approaches for acquiring software: There are some alternative approaches for acquiring software. They are:  i)  'off the shelf' software package  ii)  'turnk

The internet or the world wide web, The internet or the World Wide Web is ...

The internet or the World Wide Web is the most familiar and popular example. These databases hold vast amounts of information, for example, on companies. By obtaining details in t

Deadlocks, What is methods For handling Deadlocks?

What is methods For handling Deadlocks?

Transmission media, TRANSMISSION MEDIA: When we speak of transmission ...

TRANSMISSION MEDIA: When we speak of transmission media, we usually mean a mix of physical lines ranging from wire pairs to cable, and over the air transmission media, such as

How does a flash drive work?, Question 1 What is a desktop? Explain the...

Question 1 What is a desktop? Explain the Windows XP desktop? 2 How does a flash drive work? 3 Write the procedure for creating Macro 4 Explain the process of applyin

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