Question
Operating systems in C
17.) The kernel keeps a data structure for each process called the Process Control Block (PCB). When a process is not running, its PCB contains the information that is necessary to restart the process on a CPU. Give examples of information that the PCB must have.
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer is as follows :

The PCB stands for process control block i.e. used to track the process execution status. PCB contains the information about the process i.e. register , priorities etc.

Some the examples of information that the PCB contains :

  • Process state – It stores the respective state of the process.
  • Process number – Every process is assigned with a unique id is known as processed which stores the process identifier.
  • Register – These are the CPU registers which includes: accumulator, base, registers and general purpose registers.
  • Program counter – It stores the counter which contains the address of the next instruction that is to be executed for the process.
  • Pointer – It is a stack pointer which is required to be saved when the process is switched from one state to another to retain the current position of the process.
  • Memory limits – This field contains the information about memory management system used by operating system. This may include the page tables, segment tables etc.

if there is any query please ask in comments...

Add a comment
Know the answer?
Add Answer to:
Operating systems in C 17.) The kernel keeps a data structure for each process called the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • QUESTION 1 The design of operating is start by defining goals and specifications where it always...

    QUESTION 1 The design of operating is start by defining goals and specifications where it always affected by choice of hardware and type of system. Please describe user goals and system goals of an operating system project. QUESTION 2 Operating system structure had experience changes such as monolithic design, layering design and microkernel design. Please describe these changes. QUESTION 3 A process is defined as an entity which represents the basic unit of work to be implemented in the system....

  • [15 points] Give careful definitions for each term (in the context of computer operating systems): Process...

    [15 points] Give careful definitions for each term (in the context of computer operating systems): Process Control Block Blocking send and Non-blocking send Race condition Critical-Section problem Deadlock

  • State transition diagram used for operating system management of the Process Control Block has the following...

    State transition diagram used for operating system management of the Process Control Block has the following states A New (Create)– In this step, process is about to be created but not yet created, it is the program which is present in secondary memory that will be picked up by OS to create the process. Ready -> Ready to run. After creation of a process, the process enters the ready state i.e. the process is loaded into the main memory. The...

  • EMULATE A PROCESS CONTROL BLOCK In this assignment you will use Java, Python or C++ to...

    EMULATE A PROCESS CONTROL BLOCK In this assignment you will use Java, Python or C++ to create a process control block. All objects described aren’t provided, you will create them. You can divide up this code into separate files or put all code in one file. Proper documentation is essential, if there are no comments 5% of the total grade will be deducted. The process control block object PCB should have the following fields: ID: a unique ID for this...

  • Operating systems: please explain 1 (24) Multiple Choice(3 points for each): 1) In the interrupt systems....

    Operating systems: please explain 1 (24) Multiple Choice(3 points for each): 1) In the interrupt systems. What processing need be done by hardware when an interrupt occurs? A. Save remainder of process state information B. Restore process state information c. pushes PSW and PC onto control stack D. Restore old PSW and PC E None of the above. 2) In the distributed system, which of the following statement is true? A All the processors in the system share the memory....

  • Q1) A particular implementation of UNIX operating system provides the file structure modelled in the Figure...

    Q1) A particular implementation of UNIX operating system provides the file structure modelled in the Figure 1. Here the i-node for the file contains certain information such as the access permissions for the file. This is followed by the entries that contain information about where the file is located on the storage device. The first 10 entries are the addresses of blocks where actual data for the file are stored. If block can contain 512 bytes of information, then these...

  • Choose the correct answer 1. A virtual machine executes on a host operating system and a...

    Choose the correct answer 1. A virtual machine executes on a host operating system and a hypervisor provides an API to the actual hardware 2. The guest OS knows that it is not accessing the actual hardware so that it can perform better 3. The VM may supply an environment that is different than the actual host hardware 4. Applications running within the VM have an illusion that they are executing on a real machine Select one: a. All the...

  • I'm try to complete an Operating Systems assignment where we have 8 processes, and each process...

    I'm try to complete an Operating Systems assignment where we have 8 processes, and each process has between 14-18 bursts. We have to do a FCFS simulation, SJF simulation, and MLFQ simulation. I am well aware of how to calculate everything for the processes when we just have one set of bursts to deal with, however these processes have way more than that. I am a very visual learner, I would love if someone could explain to me how to...

  • This assignment requires you to create simulations for different scheduling algorithms commonly employed by operating systems...

    This assignment requires you to create simulations for different scheduling algorithms commonly employed by operating systems to achieve multiprogramming. All problems in this assignment assume the following: The simulations you will be creating are for a uniprocessor system (single CPU). Processes in these simulations will require CPU bursts of one or more time units followed by I/O bursts of one or more time units. For simplicity’s sake, when more than one process is executing its I/O burst at the same...

  • Case Study 1: American Water Keeps Data Flowing American Water, founded in 1886, is the largest...

    Case Study 1: American Water Keeps Data Flowing American Water, founded in 1886, is the largest public water utility in the United States. Headquartered in Voorhees, N.J., the company employs more than 7,000 dedicated professionals who provide drinking water, wastewater and other related services to approximately 16 million people in 35 states, as well as Ontario and Manitoba, Canada. Most of American Water's services support locally managed utility subsidiaries that are regulated by the U.S. state in which each operates...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT