All mock tests are FREE till 31 December — register to save your progress

Given below are two statements: one is labelled as Assertion A and the other is labelled as Reason R.
Assertion A: A process invokes a library function to create a thread.
Reason R: Threads make system calls to convey their resource and I/O requirements to the kernel.

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: B. Both A and R are true but R is NOT the correct explanation of A

Explanation

Threads are created through library calls (e.g. pthread_create) and they make system calls for resources and I/O. Both statements are true, but R does not explain how threads are created.

More System Software and Operating System questions