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


Please Help Members By Posting Answers For Below Questions

When an input file is opened, what are the possible errors that may occur?

674


What is sock_seqpacket?

725


Tell me when does the condition 'rendezvous' arise?

727


Explain the purpose of the open() and close() operations.

1733


When does stack (process stack) overflow? What are the remedies?

654






Explain what you mean by memory alignment.

665


Define paging and deadlock.

849


What is raid? What are the different raid levels?

635


Describe all the processes of the OS.

714


Explain the characteristics of instruction and execution time.

659


What is the use of paging in operating system?

627


What is a virtual machine and how does it work?

634


What are placement and replacement algorithms in the context of memory management?

755


Can I upgrade from 32bit to 64bit?

692


Why do we need inter process communication?

723