What is multi-tasking, multi-programming,multi-threading?

Answers were Sorted based on User's Feedback



What is multi-tasking, multi-programming,multi-threading?..

Answer / vkin

Multiprogramming is the technique of running several
programs at a time using timesharing. It allows a computer
to do several things at the same time. Multiprogramming
creates logical parallelism. The concept of
multiprogramming is that the operating system keeps several
jobs in memory simultaneously. The operating system selects
a job from the job pool and starts executing a job, when
that job needs to wait for any i/o operations the CPU is
switched to another job. So the main idea here is that the
CPU is never idle.

Multi tasking:
Multitasking is the logical extension of
multiprogramming .The concept of multitasking is quite
similar to multiprogramming but difference is that the
switching between jobs occurs so frequently that the users
can interact with each program while it is running. This
concept is also known as time-sharing systems. A time-
shared operating system uses CPU scheduling and
multiprogramming to provide each user with a small portion
of time-shared system.

Multi threading:
An application typically is implemented as a separate
process with several threads of control. In some situations
a single application may be required to perform several
similar tasks for example a web server accepts client
requests for web pages, images, sound, and so forth. A busy
web server may have several of clients concurrently
accessing it. If the web server ran as a traditional single-
threaded process, it would be able to service only one
client at a time. The amount of time that a client might
have to wait for its request to be serviced could be
enormous. So it is efficient to have one process that
contains multiple threads to serve the same purpose. This
approach would multithread the web-server process, the
server would create a separate thread that would listen for
client requests when a request was made rather than
creating another process it would create another thread to
service the request. To get the advantages like
responsiveness, Resource sharing economy and utilization of
multiprocessor architectures multithreading concept can be
used.

Is This Answer Correct ?    200 Yes 15 No

What is multi-tasking, multi-programming,multi-threading?..

Answer / 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

What is multi-tasking, multi-programming,multi-threading?..

Answer / disha

Multiprogramming is the technique of running several
programs at a time using timesharing. It allows a computer
to do several things at the same time. Multiprogramming
creates logical parallelism. The concept of
multiprogramming is that the operating system keeps several
jobs in memory simultaneously.

Is This Answer Correct ?    45 Yes 31 No

What is multi-tasking, multi-programming,multi-threading?..

Answer / prasant ku sahoo

Multi-threading is the programming model in which more than
one execution control exit simultaneously where as
multitasking is the ability to handle multiple job at a time
but multi-programming is the programming environment in
which more than one program reside in the primary memory

Is This Answer Correct ?    8 Yes 1 No

What is multi-tasking, multi-programming,multi-threading?..

Answer / lalit arora

Multiprogramming: is a rudimentary form of parallel
processing in which several programs are run at the same
ime on a uniprocessor.Since there is only one processor,
here can be no true simultaneous execution of different
programs. Instead, the operating system executes part of one
program, then part of another, and so on. To the user it
appears that all programs are executing at the same time.

Multitasking: in an operating system, is allowing a user to
perform more than one computer task (such as the operation
of an application program) at a time. The operating system
is able to keep track of where you are in these tasks and go
from one to the other without losing information

Multithreading: is the ability of a program or an operating
system process to manage its use by more than one user at a
time and to even manage multiple requests by the same user
without having to have multiple copies of the program
running in the computer

Is This Answer Correct ?    9 Yes 3 No

What is multi-tasking, multi-programming,multi-threading?..

Answer / sharad bhaskar

Multithreading:Take an example of a download process,we are
doing five downloads at once.Every download is a process,
the processor executes(downloads) each small part of every
process one-by-one.This is an example of multithreading.If
you are pausing a download, the execution of threads for
that process will stop.

Is This Answer Correct ?    1 Yes 0 No

What is multi-tasking, multi-programming,multi-threading?..

Answer / jaspreet singh

Multiprogramming;-

Multiprogramming is a rudimentary form of parallel
processing in which several programs are run at the same
time on a uniprocessor. Since there is only one processor ,
there can be no true simultaneous execution of different
programs. Instead, the operating system executes part of one
program, then part of another, and so on. To the user it
appears that all programs are executing at the same time.

Is This Answer Correct ?    1 Yes 3 No

What is multi-tasking, multi-programming,multi-threading?..

Answer / pravin ghavare

multiprogramming is a
technique to avoid cpu&
i/o device idle time
and max process can be
done.from pool of jobs
o/s picks one job and
begin executing it
while execution due to
some reason job may
wait for some time e.g.
may be waiting for
storage or for any sort
of i/o operation.when
this current job waits
o/s switches to another
job and so on this way
multiprogramming
technique can be done.

Is This Answer Correct ?    12 Yes 15 No

What is multi-tasking, multi-programming,multi-threading?..

Answer / sejal shah

Multitasking may refer to any of the following:

Computer multitasking - the apparent simultaneous
performance of two or more tasks by a computer's central
processing unit
Media multitasking could involve using a computer, mp3, or
any other media in conjunction with another
Human multitasking - The ability of a person to perform
more than one task at the same time

Is This Answer Correct ?    21 Yes 26 No

Post New Answer

More Operating Systems General Concepts Interview Questions

How does the system detect thrashing? Once it detects thrashing, what can the system do to eliminate this problem?

0 Answers  


What is SMP?

1 Answers  


How do you check your operating system?

0 Answers  


What is the difference between af and whitworth spanners?

0 Answers  


What do you know about a pipe? When is it used?

0 Answers  






Are 64bit applications faster?

0 Answers  


What is GUI?

0 Answers  


What is crpc in law?

0 Answers  


How do I know if my ram is corrupted?

0 Answers  


What is tras timing?

0 Answers  


Explain about linker and the functions executed by them?

0 Answers  


What is resource allocation graph?

0 Answers  


Categories