What is the primary difference between a process and a thread?
A. A process is a program in execution with its own isolated address space, while a thread is a smaller execution unit within a process.
B. Processes can run concurrently, whereas threads can only run sequentially.
C. Threads have larger memory spaces than processes.
D. An operating system contains multiple threads but only one master process.
Answer: Option A
Solution (By JKSSB Mock Tests)
Processes run inside distinct, isolated memory spaces managed by the OS, whereas threads represent execution pathways sharing the resources of their parent process.
No comments yet. Be the first to start the discussion!