What is the primary difference between a process and a thread?
A
A process has its own memory space; threads share memory within a process
B
Threads require separate operating systems
C
Processes cannot run concurrently
D
Threads always run slower than processes
Correct Answer: Option A — A process has its own memory space; threads share memory within a process
Explanation:
A process has its own independent memory space and resources, while threads are smaller units of execution within a process that share the s...
A process has its own independent memory space and resources, while threads are smaller units of execution within a process that share the same memory space. This shared memory allows threads to communicate more efficiently than separate processes.