Multitasking is a method with multiple tasks, also known as processes, share common processing resources such as a CPU.
Multiprocessing : is the use of two or more central processing units CPUs) within a single computer system.(in short - multiple jobs by several CPUs or ability to use more than one processor (CPU), on a single machine.
Multitasking solves the problem by scheduling which task may be the one
running at any given time, and when another waiting task gets a turn.
The act of reassigning a CPU from one task to another one is called a
context switch.