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

Can you tell me some of system tasks and their purpose, Can you tell me som...

Can you tell me some of system tasks and their purpose? $display, $displayb, $displayh, $displayo, $write, $writeb, $writeh, $writeo. The most useful of these is $display. T

Events by which we can program "help texts", What are the events by which w...

What are the events by which we can program "help texts" and display "possible value lists"? -PROCESS ON HELP-REQUEST (POH). -PROCESS ON VALUE-REQUEST (POV).

How can we resize layout cells, Q. How can we Resize Layout Cells? To p...

Q. How can we Resize Layout Cells? To precisely design a page, you can set size of cells you add in a document. You can reposition cells in the page as well. 1.      Click o

Difference between top-down and bottom-up programming, What is the differen...

What is the difference between top-down and bottom-up, programming? Ans: Top-down and Bottom-up Approaches In Top-down programming approach, we begin by identifying the main

What does a lock object involve, What does a lock object involve? The t...

What does a lock object involve? The tables. The lock argument.

Define the do while loop, The do while Loop This is very similar to the...

The do while Loop This is very similar to the while loop except that the test occurs at the end of the loop body. This guarantees that the loop is executed at least once before

Illustrate process of swapping system, What does the swapping system do if ...

What does the swapping system do if it identifies the illegal page for swapping? If the disk block descriptor does not have any record of the faulted page, then this causes the

Explain dataflow computation model, Explain dataflow computation model ...

Explain dataflow computation model An option to the von Neumann model of computation is a dataflow computation model. In a dataflow model the control is tied to the flow of dat

What is optical mark recognition, Optical mark recognition (OMR)  OMR ...

Optical mark recognition (OMR)  OMR technology scans a printed form and reads pre-defined positions (where specific fields have been filled in for instance ?-?or _); system re

What is phase encoding, What is phase encoding or Manchestor encoding? ...

What is phase encoding or Manchestor encoding?  It is the method for combining clock information with data. It is a scheme in which alters in magnetization occur for each data

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