Sollicitatievraag bij ZS

Q: Explain the difference between a process and a thread.

Antwoord op sollicitatievraag

Anoniem

1 jul 2026

A process is an independent program in execution with its own memory space and system resources, while a thread is the smallest unit of execution within a process. Multiple threads of the same process share the same memory and resources, making thread creation and communication faster than processes. Processes provide better isolation, whereas threads are more efficient for concurrent tasks.