edited by
11,887 views
30 votes
30 votes

Which of the following is/are shared by all the threads in a process?

  1. Program counter
  2. Stack
  3. Address space
  4. Registers
  1. (I) and (II) only
  2. (III) only
  3. (IV) only
  4. (III) and (IV) only
edited by

5 Answers

0 votes
0 votes
Every thread has its own PC and stack.

Hence d) is correct
Answer:

Related questions

36 votes
36 votes
3 answers
5
Madhav asked Feb 14, 2017
13,105 views
Consider the set of process with arrival time (in milliseonds), CPU burst time (in millisecods) and priority ($0$ is the highest priority) shown below. None of the proce...
41 votes
41 votes
3 answers
6
khushtak asked Feb 14, 2017
13,090 views
In a file allocation system, which of the following allocation scheme(s) can be used if no external fragmentation is allowed?ContiguousLinkedIndexed$1$ and $3$ only$2$ on...
28 votes
28 votes
7 answers
7
Arjun asked Feb 14, 2017
13,854 views
A system shares $9$ tape drives. The current allocation and maximum requirement of tape drives for that processes are shown below:$$\begin{array}{ccc} \textbf{Process} &...
48 votes
48 votes
7 answers
8
Arjun asked Feb 14, 2017
17,200 views
Threads of a process shareglobal variables but not heapheap but not global variablesneither global variables nor heapboth heap and global variables