what is the difference between multitasking and
multithreading?

Answers were Sorted based on User's Feedback



what is the difference between multitasking and multithreading?..

Answer / priyanjan

multitasking infers the mechanism to run many processes
simultaneously with user interaction.
in contrast,multithreading is
a mechanism of running various threads under single process
within its own space.

Is This Answer Correct ?    262 Yes 25 No

what is the difference between multitasking and multithreading?..

Answer / denish kanabar

multitasking:heavyweight process and runs in a different
address space so context switch or intercommunication
between processes is much expensive.

Where as multithreading: light weight process and can run
in a same address space so context switch or
intercommunication between processes is less expensive.

Is This Answer Correct ?    155 Yes 29 No

what is the difference between multitasking and multithreading?..

Answer / divya

multitasking ::: is a method by which multiple tasks, also
known as processes, share common processing resources such
as a CPU. With a multitasking OS, you can simultaneously run
multiple applications. Multitasking refers to the ability of
the OS to quickly switch between each computing task to give
the impression the different applications are executing
multiple actions simultaneously.

Multithreading ::: extends the idea of multitasking into
applications, so you can subdivide specific operations
within a single application into individual threads. Each of
the threads can run in parallel. The OS divides processing
time not only among different applications, but also among
each thread within an application.

Is This Answer Correct ?    101 Yes 21 No

what is the difference between multitasking and multithreading?..

Answer / geetha.v

A multi threaded program contains 2 or more threads

running concurently.
In a multitasking environment 2 or more processes will run
concurently.
Multithreading requires less overhead than
multitasking.

Interprocess communication is very expensive
and context switching from one process to another procees
is costly since they are runningin different address spases.

In case of multithreading threads are lightweightprocess and
can share same addressspace and interthread communication
is less.

expensive
than interprocees

Is This Answer Correct ?    40 Yes 6 No

what is the difference between multitasking and multithreading?..

Answer / geetha krishna

MULTITASKING:
multitasking ,in an operating system is
allowing user to perform more than one computer task at a
time.
MULTITHREADING:
the ability of an operating system to execute
different parts of the program called
threads,simultaneously.the programmer must carefully design
the program in such a way that all the threads can run at
the sametime without interfering with each other.

Is This Answer Correct ?    33 Yes 15 No

what is the difference between multitasking and multithreading?..

Answer / mukesh gupta

Multitasking is of two types
1> process based.
2>thread based.

Is This Answer Correct ?    34 Yes 21 No

what is the difference between multitasking and multithreading?..

Answer / ashok kumar

multitasking :multitasking is a method by which multiple
tasks, also known as processes, share common processing
resources such as a CPU. With a multitasking OS, you can
simultaneously run multiple applications.

Multithreading : extends the idea of multitasking into
applications, so you can subdivide specific operations
within a single application into individual threads. Each of
the threads can run in parallel. The OS divides processing
time not only among different applications, but also among
each thread within an application

Is This Answer Correct ?    21 Yes 9 No

what is the difference between multitasking and multithreading?..

Answer / seetaram

MULTITASKING:
multitasking ,in an operating system is
allowing user to perform more than one computer task at a
time.
Multithreading:
Multithreading is a mechanism of running various threads
under single process
within its own space.

Is This Answer Correct ?    23 Yes 12 No

what is the difference between multitasking and multithreading?..

Answer / levin jack

MULTITASKING MULTI THREADING
************ ***************
1.multi threaded program In a multitasking environment
contains 2
or more threads 2 or more processes will run
running concurrently. concurrently.

2.Process are heavyweight Threads are lightweight proces
process that require their &can share same address space
own address space interthread comm is less
expensive than IPC
3.More expensive: Less expensive:
runs in diff address space runs in same address space thus
thus context switching or context switching or IPC b/w
IPC b/w process is high. process is low.

4.The operating system is Multi threading is the ability
able to keep track of where of pgm or an OS process to
you are in there task & go manage its use by more than one
from one to the other user at a time & to even manage
without losing information multiple request by the same
user without having to have

. multiple copies of the pgm
running in the computer

Is This Answer Correct ?    14 Yes 4 No

what is the difference between multitasking and multithreading?..

Answer / pushpendra singh gorwa

multitasking :
1. Multiple tasks, also known as processes, share common
processing resources.
2. You can simultaneously run multiple applications.
3. Heavyweight process
4. Every process have different address space so context
switch or intercommunication between processes is much
expensive.

Multithreading :
1. Subdivide specific operations within a single application
into individual threads.
2. Each of the threads can run in parallel. OS divides
processing time not only among different applications, but
also among each thread within an application.
3. Light weight process
4. Threads for the same application share same address space
so context switch or intercommunication between threads is
less expensive.

Is This Answer Correct ?    13 Yes 4 No

Post New Answer

More Core Java Interview Questions

Can I learn java in 3 months?

0 Answers  


Why is java called the platform independent programming language?

0 Answers  


What is the use of accept () method in java?

0 Answers  


Why do we declare a class static?

0 Answers  


How many functional interfaces does java 8 have?

0 Answers  






What is nested class?

0 Answers  


Does a function need a return?

0 Answers  


how to one war file class to another war file class?

0 Answers  


Is sizeof a keyword in java programming?

0 Answers  


When the constructor of a class is invoked?

0 Answers  


How objects are stored in java?

0 Answers  


Write POJO class as a key to hashmap???

2 Answers  


Categories