• edited by
5,483 views

2 Answers

Best answer
7 7 votes

Process Control Block (PCB, also called Task Controlling Block) is a data structure in the operating system kernel containing the information needed to manage the scheduling of a particular process.

Process Control Block generally contains-

  • A numeric identifier for the process i.e. pid
  • 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.
  • Identifier of the parent id i.e. ppid
  • user identifier (uid) - id of the user responsible for the process.
  • CPU registers-  various register set of CPU where process need to be stored for execution for running state
  • A list of I/O devices allocated to the process.
  • information of page table, memory limits, segment table depending on memory used by the operating system.etc.

So, Process Control Block does contain Process ID, User Identification Number, Registers.

∴ The answer will be Option D) None of the above

• selected by
Position:
Show:

Related questions

1 1 vote
1 1 answer
2.3k
2.3k views
gulsanchouhan asked May 28, 2018
2,337 views
What are the attributes of process control block ?
3 3 votes
2 2 answers
246
246 views
GO Classes asked Aug 31
246 views
Suppose $\texttt{x}$ is a condition variable inside a monitor.What happens when a process executes:$\texttt{x.wait()}$Mutual exclusion is established on variable $\texttt...
4 4 votes
1 1 answer
249
249 views
GO Classes asked Jul 27
249 views
Two processes $P_i$ and $P_j$ use Peterson’s solution:$\texttt{flag[i] = TRUE;}$$\texttt{turn = j;}$$\texttt{while(flag[j] \&\& turn == j);}$$\texttt{Critical Section}$$\...
2 2 votes
1 1 answer
192
192 views
GO Classes asked Jul 27
192 views
Consider the following solution for process $P_i$:$\texttt{while (turn != i);}$$\texttt{Critical Section}$$\texttt{turn = j;}$Which of the following statements are correc...