Thread · Operating System
11 questions · asked in 8 of 27 years (2000–2026)
MCQ 8 · MSQ 31-mark 10 · 2-mark 1
2000Questions per year2026
Questions 11–11 of 11
Consider the following statements with respect to user-level threads and kernel-supported threads
(i) context switch is faster with kernel-supported threads
(ii) for user-level threads, a system call can block the entire process
(iii) Kernel supported threads can be scheduled independently
(iv) User level threads are transparent to the kernel
Which of the above statements are true?
(i) context switch is faster with kernel-supported threads
(ii) for user-level threads, a system call can block the entire process
(iii) Kernel supported threads can be scheduled independently
(iv) User level threads are transparent to the kernel
Which of the above statements are true?
Answer: (A)
- (i) is false. A user-level thread switch is done by the thread library inside the process, with no kernel call, so it is faster than a kernel-thread switch.
- (ii) is true. The kernel sees only one process, so when one user-level thread makes a blocking system call, the kernel blocks the whole process and every thread in it stops.
- (iii) is true. The kernel knows each kernel-supported thread, so it can schedule each one on its own (even on different CPUs).
- (iv) is true. The kernel does not know that user-level threads exist; it sees only the single process that holds them.
So (ii), (iii) and (iv) are true.
Answer: (A)
- (ii) is true. The kernel sees only one process, so when one user-level thread makes a blocking system call, the kernel blocks the whole process and every thread in it stops.
- (iii) is true. The kernel knows each kernel-supported thread, so it can schedule each one on its own (even on different CPUs).
- (iv) is true. The kernel does not know that user-level threads exist; it sees only the single process that holds them.
So (ii), (iii) and (iv) are true.
Answer: (A)
Keep practising