multitasking - the ability to execute more then one task at same time
Q1) Is it correct definition for multitasking?
task has three state
running-executing on cpu
ready-read to be execute
waiting - waiting for execution
If we have two task running at same time, both task can not be executed at same time so one of them will be delayed , one task will be wait another task will be execute
Q2) one task will be wait another task will be execute but what decide that which one will be execute first and which one will be wait?
I am confused about what is multitasking and scheduling
Q1) Is it correct definition for multitasking?
task has three state
running-executing on cpu
ready-read to be execute
waiting - waiting for execution
If we have two task running at same time, both task can not be executed at same time so one of them will be delayed , one task will be wait another task will be execute
Q2) one task will be wait another task will be execute but what decide that which one will be execute first and which one will be wait?
I am confused about what is multitasking and scheduling