GATE CS 2024 Set 1 | Question 24
Operating Systems › Introduction & Process Management · MSQ · 1 mark · Answer: D
- Question 24Operating Systemsmsq1 markWhich statements about threads is/are TRUE?
- A.Threads can only be implemented in kernel space
- B.Each thread has its own file descriptor table for open files
- C.All threads of a process share a common stack
- D.Threads of a process are by default not protected from each other✓
Answer: D
Solution
Answer: (D) Threads of a process share the same address space (code, heap, globals, and the file-descriptor table), so they are not protected from one another -> (D) true. (A) false (user-level threads exist); (B) false (fd table is shared); (C) false (each thread has its own stack). - A.
More GATE PYQ on Introduction & Process Management
All GATE CS Operating Systems PYQ →Attempt GATE CS 2024 Set 1 in real GATE exam mode
Full paper with a timer, the GATE interface and a topic-wise analysis — free.
Create free account →