Question Bank

Interview Question Bank& Answer Guides

Search hundreds of verified technical, behavioral, and system design interview questions across top engineering and leadership roles. Review structured response frameworks and practice answering aloud with real-time AI feedback.

51 Curated Questions
11 Target Roles
Annotated Sample Answers
51 found
Showing all 51 verified questions

Showing 51 verified questions

Structured Answering Strategy

Define both concepts clearly. Explain that a process is an independent execution unit with its own memory space, while a thread is a lightweight execution path within a process sharing the same memory. Highlight resource costs, context-switching latency, and scenarios like concurrency in web servers or CPU-bound background processing.

Annotated Exemplary Response

"A process is an instance of a running application that has its own isolated memory address space. A thread is the smallest execution unit within a process, sharing the parent process's memory, files, and resources. I would use multi-threading to achieve concurrency when executing independent tasks that share data, such as handling concurrent HTTP requests in a web server or processing image rendering pieces in parallel, to maximize CPU utilization without the heavy overhead of context-switching between separate processes."