What is the differences between tasks programs and processes?
processes are created by the kernel upon boot and run in background. usually a user with super user priviledges such as root or administrator can stop processes.
task application are applications created in userspace such as a spreadsheet, web browser, etc
Multitasking is the simultaneous running of several processes by a single machine. PCs are an example of multi-tasking machines. They are capable of running several programs at the same time as well as numerous background tasks such as network control, file management, printer control and many more. The processes are normally under the control of housekeeping software that allocates computer resources to each of the tasks as they are needed.
Shell scripts are interpreted files that contain commands and logic sequences to do things. They are similar to programs in that they contain logic and sequencing, and call other programs to accomplish tasks. You use shell scripts to automate tasks in Unix, run tasks periodically, create repeatable tasks, etc.
Multitasking is the ability to run multiple processes or tasks (either with one processor or multiple processors). Multiprocessing refers to using more than one processor along with the ability to allocate tasks to multiple processors. Multi-processing is where you have multiple processes/applications that run in parallel whereas multi-tasking is where the code is split into separate blocks, which are executed in parallel. Whether these separate tasks/processes are run on separate processors depends upon the number…
I guess you could say that application programs help you do something in the real world: Writing a letter to your mother, watching a video, making a presentation for work. Utility programs are generally all about computer administration: They let you defragment the hard drive, move files between computers and similar small and limited computer-related tasks.
1 reasons for creating multiple processes is 1- If in an application there are various independent major operations, we can create multiple processes for these tasks, a perfect example of this is operating system When you issue the execve or fork syscalls a new process is created. (spawning an application is eseentialy fork + execve) Processes are also created by the kernel scheduler for various internal tasks :P
'What is the difference between multiprogramming and multitasking and what is meaning of a task if we consider a task as a program then the concept will be multiprogramming then what is the differenc?
First of all there is difference between program and a task. There may be multiple tasks running related to one program at the same time. so if the processor is busy in multiple tasks related to one program then it is multitasking. But if the multiple tasks which the processor is executing concurrently are related to different independent programs then the concept is know as multiprogramming.