What is the main difference between a process and a thread?
A. A process has its own memory space, while threads share memory within a process
B. Threads are independent, while processes are not
C. Processes are scheduled, threads are not
D. There is no difference
Answer: Option A
Solution (By JKExamLibrary)
Processes are independent with separate memory; threads are lighter, sharing the same memory space and resources of the parent process.
This question belongs to:
Computer
Operating Systems
No comments yet. Be the first to start the discussion!