Which of the following statement(s) is/are true regarding processes and…
2021
Which of the following statement(s) is/are true regarding processes and threads in operating system? I. Threads encapsulate concurrency within a process. II. Process encapsulates protection within the system.
- A.
Only I
- B.
Only II
- C.
Both I and II
- D.
Neither I nor II
Attempted by 202 students.
Show answer & explanation
Correct answer: C
The correct answer is Option 3: Both I and II.
In modern operating systems, the concepts of processes and threads serve two distinct but complementary purposes:
Statement I: A thread is the basic unit of CPU utilization and represents a single flow of control. By having multiple threads within a single process, the system can perform multiple tasks concurrently (like a web browser downloading an image while simultaneously rendering text). Thus, threads encapsulate concurrency.
Statement II: A process provides an execution environment with its own private address space. The operating system uses these boundaries to ensure that one process cannot interfere with or corrupt the memory of another. Therefore, processes encapsulate protection across the system.