1. Multi-tasking :
Multi-tasking is the logical extension of multiprogramming. In this systems, the CPU executes multiple jobs by switching among them typically using a small time quantum, and the switches occur so frequently that the users can interact with each program while it is running. Multitasking are further classified into two categories: Single User & Multiuser.
2. Multiprocessing :
Multiprocessing is a system that has two or more than one processors. In this, CPUs are added for increasing computing speed of the system. Because of Multiprocessing, there are many processes that are executed simultaneously. Multiprocessing are further classified into two categories: Symmetric Multiprocessing, Asymmetric Multiprocessing.
Difference between Multitasking and Multiprocessing :
|1.||The execution of more than one task simultaneously is known as multitasking.||The availability of more than one processor per system, that can execute several set of instructions in parallel is known as multiprocessing.|
|2.||The number of CPU is one.||The number of CPU is more than one.|
|3.||It takes moderate amount of time.||It takes less time for job processing.|
|4.||In this, one by one job is being executed at a time.||In this, more than one process can be executed at a time.|
|5.||It is economical.||It is economical.|
|6.||The number of users is more than one.||The number of users is can be one or more than one.|
|7.||Throughput is moderate.||Throughput is maximum.|
|8.||Its efficiency is moderate.||Its efficiency is maximum.|
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.