...
Artificial-Intelligence
November 4, 2024
CMI 2019
November 6, 2024
Artificial-Intelligence
November 4, 2024
CMI 2019
November 6, 2024

GATE 2011

Question 4

A thread is usually defined as a “light weight process” because an operating system (OS) maintains smaller data structures for a thread than for a process. In relation to this, which of the following is TRUE?

A
On per-thread basis, the OS maintains only CPU register state
B
The OS does not maintain a separate stack for each thread
C
On per-thread basis, the OS does not maintain virtual memory state
D
On per thread basis, the OS maintains only scheduling and accounting information
Question 4 Explanation: 
A) False, because on per thread basis OS maintains register, stack and program counter.
B) False, OS do maintain a separate stack for each thread.
C) True
D) False
Correct Answer: C
Question 4 Explanation: 
A) False, because on per thread basis OS maintains register, stack and program counter.
B) False, OS do maintain a separate stack for each thread.
C) True
D) False

Leave a Reply

Your email address will not be published. Required fields are marked *