What data structure is used by an operating system, Computer Engineering

Assignment Help:

What data structure is used by an operating system to keep track of process information? Explain

A data structure termed as process control block (PCB) is used by an operating system to keeps track of all information relating a process. The PCB of a process consists of the subsequent information.

Process ID

Priority

Process state

PSR

Registers

Event information

Memory allocation

Resources held

PCB pointer

(a) Process scheduling information: This information contains three fields process ID, process state, priority.

(b) PSR and machine registers: These fields have contents of the processor states register (PSR) and the machine registers while the execution of the process was final suspended.

(c) Event information: While a process is in blocked state, this field consists of information concerning the event for that the process is waiting.

(d) Memory and resource information: Such information is helpful for the de-allocating memory and resources while the process terminates.

(e) PCB pointer: This is a pointer to the next PCB in the process scheduling list.


Related Discussions:- What data structure is used by an operating system

Explain about indexed addressing scheme, In this technique, operand field o...

In this technique, operand field of instruction includes an address and an index register thatcomprises an offset. This addressing scheme is normally used to address the consecutiv

Cell array variable , a)   Make a cell array variable that would kept for a...

a)   Make a cell array variable that would kept for a student his or her name, university id number, and GPA.  Print this information. b) Make a structure variable that would kept

Arc consistency, Arc Consistency: There have been many advances in how...

Arc Consistency: There have been many advances in how constraint solvers search for solutions (remember this means an assignment of a value to each variable in such a way that

Write a program using linq to find the sum of first 5 prime , Class Program...

Class Program { static void Main() { int[] MyPrimeNumbers = {1,2,3,5,7}; // Use the Count() and Sum() Standard Query Operators to // compute the count an whole su

Explain the significance of binary data, Explain the Significance of Binary...

Explain the Significance of Binary Data Controlled devices generally contain registers that are made up of binary digits (bits). The following illustration shows how these regi

What will be the output of JK flipflop for J = 0 and K=1, For JK flipflop J...

For JK flipflop J = 0, K=1, the output after clock pulse will be ? Ans. J=0 and K=1, such inputs will reset the flip-flop, after the clock pulse. Therefore whatever be the earlie

Illustrate what is a centrifugal force, Q. Illustrate what is a Centrifugal...

Q. Illustrate what is a Centrifugal Force? Answer:- Centrifugal force is the force that is equivalent in magnitude but opposite in direction to the centripetal force which

What are the requirements of the user, This step of systems examination is ...

This step of systems examination is one of the most difficult. In this stage systems specifications are identified by asking what, who, when, where and how. A few questions address

What is digital signature, Digital Signature is Software to recognize si...

Digital Signature is Software to recognize signature

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