Question

List 3 pieces of information in a PCB?

List 3 pieces of information in a PCB?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The answers for your question given below

Each process in Operating System is represented by a Process Control Block. It is a data structure maintained by OS for every process. It consist of all the information about specific process.

Process Identification Number (PID)
Process State
Process Priority
Pointer to the Parent Process
Pointer to the Child Process
Program Counter
Registers
Pointer to Process Memory
Process Privileges
CPU Scheduling Information
Memory management information
Accounting information
IO information

Process Identification Number : Unique identification for each of the process in the operating system to distinguish it from all other processes.

Process State : The state may be new, ready, running, waiting, halted, and so on.

Process Priority : Priority level relative to other processes.

Pointer to the Parent Process : Shows the pointer to parent process

Pointer to Child Process : Shows pointers to child processes

Program Counter : Program Counter is a pointer to the address of the next instruction to be executed for this process.

Registers : Various CPU registers where process need to be stored for execution for running state. The registers vary in number and type, depending on the computer architecture. They include accumulators, index registers, stack pointers, and general-purpose registers, plus any condition-code information. Along with the program counter, this state information must be saved when an interrupt occurs, to allow the process to be continued correctly afterward.

Pointer to Process Memory : Includes pointers to the program code and data associated with this process,plus any memory blocks shared with other processes.

Process Privileges : Various CPU registers where process need to be stored for execution for running state.

CPU Scheduling Information : This information includes a process priority, pointers to scheduling queues, and any other scheduling parameters.

Memory management information : This information may include such items as the value of the base and limit registers and the page tables,or the segment tables, depending on the memory system used by the operating system

Accounting information : This information includes the amount of CPU and real time used, time limits,account numbers, job or process numbers, and so on.

IO information : This information includes the list of I/O devices allocated to the process, a list of open files, and so on.

Add a comment
Know the answer?
Add Answer to:
List 3 pieces of information in a PCB?
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
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