Consider the following statements with respect to user-level threads and…

2004

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?

  1. A.

    (II), (III) and (IV) only

  2. B.

    (II) and (III) only

  3. C.

    (I) and (III) only

  4. D.

    (I) and (II) only

Attempted by 69 students.

Show answer & explanation

Correct answer: A

Statement i is false because user-level threads have faster context switches than kernel-supported threads as they do not require kernel intervention. Statement ii is true because in user-level threading models, a system call blocks the entire process since the kernel sees only one thread. Statement iii is true as kernel-supported threads can be scheduled independently by the operating system. Statement iv is true since user-level threads are managed entirely within the application and remain transparent to the kernel. Thus, statements ii, iii, and iv are correct.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Gate Guidance By Sanchit Sir