What is multi-tasking, multi-programming,multi-threading?
Answer Posted / anjali
MULTIPROGRAMMING -:
It is the process of loading more than one program into the
memory so that processor can be kept busy by switching
between any of the loaded programs.
Example -:
let us say there are 2 programs waiting in the pool to be
executed by the CPU,so the OS picks the first program and
executes. if the program has some I/O operations
involved,then it puts this program in the queue and picks
the second program and executes,meanwhile the first program
receiving its input.
MULTITASKING -:
It is the ability of a computer to handle a number of jobs
or tasks simultaneously.It is basically for single user
with multiple programs.
Example -:
let us say we are printing a document of 100 pages while
computer is performing that,we can still do other jobs like
typing a new document,so more than one task is performed.
thanks..
Is This Answer Correct ? | 31 Yes | 4 No |
Post New Answer View All Answers
When an input file is opened, what are the possible errors that may occur?
What is sock_seqpacket?
Tell me when does the condition 'rendezvous' arise?
Explain the purpose of the open() and close() operations.
When does stack (process stack) overflow? What are the remedies?
Explain what you mean by memory alignment.
Define paging and deadlock.
What is raid? What are the different raid levels?
Describe all the processes of the OS.
Explain the characteristics of instruction and execution time.
What is the use of paging in operating system?
What is a virtual machine and how does it work?
What are placement and replacement algorithms in the context of memory management?
Can I upgrade from 32bit to 64bit?
Why do we need inter process communication?