...
Question 7965 – GATE 2017 [Set-2]
November 16, 2023
Question 7969 – GATE 2017 [Set-2]
November 16, 2023
Question 7965 – GATE 2017 [Set-2]
November 16, 2023
Question 7969 – GATE 2017 [Set-2]
November 16, 2023

Question 7968 – GATE 2017 [Set-2]

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

I. Program counter

II. Stack

III. Address space

IV. Registers

Correct Answer: B

Question 7 Explanation: 
First of all, you need to know about process and threads.
A process, in the simplest terms, is an executing program.
One or more threads run in the context of the process.
A thread is the basic unit to which the operating system allocates processor time.
A thread can execute any part of the process code, including parts currently being executed by another thread.
Each thread has its own stack, register and PC.
So here address space that is shared by all thread for a single process.
A
I and II only
B
III only
C
IV only
D
III and IV only
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!