Skip to content
Learn Netverks
Company prep Google
Fresher (0–1 years) Technical deep dive Easy

What is the difference between a process and a thread?

Fundamental OS question for Google L3 / university grad screens.

Role
L3 / New grad
Location
Remote
Study track
Java

Try answering aloud first

Cover trade-offs, structure, and a concrete example before revealing the baseline response.

Spoiler-free prep mode

A process is an isolated program execution with its own virtual memory, file descriptors, and PID. A thread is a lightweight unit of execution inside a process sharing the same address space.

Threads are cheaper to create and switch; processes give stronger isolation. Mention context switches, GIL (Python), and when to prefer thread pools vs worker processes.

Comments (0)

Share how this question came up in your loop, or add tips for others preparing.

Log in to comment on this question.