Management Notes

Reference Notes for Management

Which of the following statements comparing the context of a thread with that of a process is true?

Looking for the answer to the question below related to Operating System?

Which of the following statements comparing the context of a thread with that of a process is true?

 Options:

(a) Two processes will share any context; two threads of a same process will only share the data and the code (text) areas of the context
(b) Two processes will not share any context; two threads of a same process will share the data, code (text) and the stack areas of the context
(c) Two processes will share the data and the code (text) areas of the user context; two threads of a same process will only share the register context
(d) The overhead involved in context switching for processor is much higher than that for threads
(e) The overhead involved in context switching for threads is much higher than that for processes.

 

The Correct Answer Is:

  • (d) The overhead involved in context switching for processor is much higher than that for threads

 

Conclusion

I hope you got the answer to your question.

Smirti

Leave a Comment