Which of the following statements are true?
- A thread has less context compared to a process.
- Context switching time would be more in kernel-level threads as compared to the user level threads.
- User level threads need a hardware support.
- OS can recognise the kernel-level threads definitely.
-
All of these
-
Only 1, 2 and 4
-
Only 1, 3 and 4
-
Only 2, 3 and 4
B
Correct answer
Explanation
Statement 1 is true: threads share address space so have less context. Statement 2 is true: kernel-level threads require mode switches making context switching slower. Statement 3 is false: user-level threads run entirely in user space without hardware support. Statement 4 is true: the OS scheduler directly manages kernel-level threads.