What is the difference between multitasking and multiprocessing?

Technical
Easy
Flipkart
80.1K views

Direct Answer

Clarifies the distinction between executing multiple tasks on one CPU versus using multiple CPUs.

Why Interviewers Ask This

This checks your understanding of concurrency models. Interviewers want to ensure you know when to parallelize tasks across cores versus time-slicing them on a single core.

How to Answer This Question

Define multitasking as rapid switching between tasks on a single CPU. Define multiprocessing as simultaneous execution on multiple CPUs. Contrast them in terms of hardware requirements, true parallelism, and fault tolerance. Use examples like web browsers vs scientific computing.

Key Points to Cover

  • Single vs Multiple CPU
  • True parallelism vs time slicing
  • Hardware dependency
  • Performance implications

Sample Answer

Multitasking involves a single CPU rapidly switching between tasks to create the illusion of simultaneity. Multiprocessing uses multiple CPUs to execute tasks truly in parallel. While multitasking improves responsiveness…

Common Mistakes to Avoid

  • Thinking multitasking means true parallelism
  • Confusing threading with multiprocessing
  • Ignoring the role of the scheduler

Sound confident on this question in 5 minutes

Answer once and get a 30-second AI critique of your structure, content, and delivery. First attempt is free — no signup needed.

Try it free

Related Interview Questions

Browse all 180 Technical questionsBrowse all 138 Flipkart questions