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