Given below are two statements: one is labelled as Assertion A and the other is labelled as
Reason R .
Assertion A: A process involves a library function to create a thread.
Reason R: The threads make system calls to convey their resource and I/O requirement to the Kernel. In the light of the above statements, choose the correct answer from the options given below.
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
A process creates threads by calling a library function such as pthread_create (A true). Threads use system calls to tell the kernel their resource and I/O needs (R true). R does not explain how threads are created.
More System Software and Operating System questions
- Given below are two statements: Which of the following statement/s is/are correct with respect to virtual memory Statement I: Address trans…
- Given below are two statements: one is labelled as Assertion A and the other is labelled as Reason R . A virtual memory system uses first-i…
- Consider three processes: P0 (arrival 0 ms, burst 7 ms), P1 (arrival 1 ms, burst 3 ms), P2 (arrival 2 ms, burst 7 ms). Pre-emptive shortest…
- Match List I with List II. List I: A. RAID level 2, B. RAID level 4, C. RAID level 5, D. RAID level 3. List II: I. Bit-interleaved parity,…
- Match List I with List II. List I: A. Critical region, B. Wait/signal, C. Working set, D. Deadlock. List II: I. Hoare's monitor, II. Mutual…
- Consider a disk system with cylinders. The request to access the cylinders occurs in the following sequence: 4, 34, 10, 7, 19, 73, 2, 15, 6…