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

Determine a ring counter that consisting of five flip-flops, A ring counter...

A ring counter consisting of five Flip-Flops will have ? Ans. A ring counter have 5 states while consisting of Five Flip-Flops.

What is a sparse matrix, What is a sparse matrix? Sparse Matrix A m...

What is a sparse matrix? Sparse Matrix A matrix in which number of zero entries is much higher than the number of non-zero entries is known as sparse matrix. The natural me

Automatic typewriter in information distribution, Automatic typewriter : I...

Automatic typewriter : It is a power-driven machine, which automatically types a standard pro forma from a previously punched or stencilled master. When the master is placed on th

ATM is an example of which topology?, ATM is an example of? ATM is illu...

ATM is an example of? ATM is illustration of Star topology.

How blocking and non blocking statements get executed, How blocking and non...

How blocking and non blocking statements get executed? Execution of blocking assignments can be viewed just like a one-step process: 1. Evaluate RHS (right-hand side equatio

Write the truth table to realize the function nand gate, For F = A.B.C +...

For F = A.B.C + B.C.D ‾ + A ‾.B.C, write  the  truth  table to realize the function using NAND gates only ? Ans. Logic Function given as F = ABC + BC‾D + A‾BC, simplification o

C program, program to find minimum total number of shelfs

program to find minimum total number of shelfs

Define user space, Define user space? The system space is divided from ...

Define user space? The system space is divided from virtual address space in which the user application programs reside. The letter space is known as user space.

Write a recursive algorithm, Write a recursive algorithm to count the numbe...

Write a recursive algorithm to count the number of right children in a binary search tree. Write the method levelCount whose header is given below. Method levelCount returns

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