Why interviewers ask this
It checks operating system fundamentals.
How to approach it
Define both, then compare memory, communication and cost.
Example answer
A process is an independent program with its own memory space. Threads live inside a process and share its memory, which makes them lighter but requires care to avoid race conditions.
What a weak answer sounds like
A process and a thread are the same.
It is vague, has no example and gives the interviewer nothing to remember.
Common mistake
Only giving definitions without describing the difference in memory sharing.
Follow-up questions to expect
- What is a race condition?
- How do threads communicate?
- What is context switching?
How to practise
Draw a diagram of one process with two threads showing which memory is shared.
Use this as a pattern, not a script. Answer in your own words with your own examples.