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

multitasking called heavy weight processes(hwp).
mulithreading called light weight processes(lwp).

Is This Answer Correct ?    5 Yes 0 No

what is the difference between multitasking and multithreading?..

Answer / aditya

multi tasking:it refers to making number of works at atime
each with its specific address...i.e example:a web browser
we can operate google,social networking sites etc at a time
but each has its specific address bar or address
multi threading: it refers to process many works under a
single address....i.e example:playing a multi racing game 2
players play a racing game at a time in a sinle address
oneoperates key board and other uses mouse etc to play

Is This Answer Correct ?    5 Yes 0 No

what is the difference between multitasking and multithreading?..

Answer / manasa

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

Is This Answer Correct ?    13 Yes 10 No

what is the difference between multitasking and multithreading?..

Answer / kiran reddy

multi-threading:::
OS to execute different pats of a program will at same time with out interfacing with each other...
multitasking:::
ability to execute more then one task at the same time when a task begin program

Is This Answer Correct ?    12 Yes 9 No

what is the difference between multitasking and multithreading?..

Answer / venu

multitasking :This is execute Many tasks one by one.
Multithreding :Tyis is execute Many tsks at the same time.
tis is share the memory one by one tasks.

Is This Answer Correct ?    5 Yes 2 No

what is the difference between multitasking and multithreading?..

Answer / amulya

multithreading is a specialized form of multitasking.multi threading programs contains 2 or more threads running concurrently.it requires less overhead than multitasking.in this process threads are light weight process.
multitasking contains 2 or more process will run concurrently.in this process are heavy weight tasks.

Is This Answer Correct ?    1 Yes 0 No

what is the difference between multitasking and multithreading?..

Answer / ankita chauhan

multi threading is running multiple"light weight"process in
a single process/task/program.
multi tasking running multiple"heavy weight"processes by a
single OS.

Is This Answer Correct ?    1 Yes 0 No

what is the difference between multitasking and multithreading?..

Answer / kumari pooja

-Multitasking: With a multi tasking os,you can can simultaneously run multiple applications.
+Example: A web browser, social networking sites etc.

-Multithreading: Within a single application into individual threads.
+Example : Playing a multi racing game 2 players play a racing game at a time in a single address.

Is This Answer Correct ?    1 Yes 0 No

what is the difference between multitasking and multithreading?..

Answer / sonika

Multithreading
Up to now, we have talked about multiprogramming as a way to allow multiple programs being resident in main memory and (apparently) running at the same time. Then, multitasking refers to multiple tasks running (apparently) simultaneously by sharing the CPU time. Finally, multiprocessing describes systems having multiple CPUs. So, where does multithreading come in?
Multithreading is an execution model that allows a single process to have multiple code segments (i.e., threads) run concurrently within the “context” of that process. You can think of threads as child processes that share the parent process resources but execute independently. Multiple threads of a single process can share the CPU in a single CPU system or (purely) run in parallel in a multiprocessing system
Why should we need to have multiple threads of execution within a single process context?
Well, consider for instance a GUI application where the user can issue a command that require long time to finish (e.g., a complex mathematical computation). Unless you design this command to be run in a separate execution thread you will not be able to interact with the main application GUI (e.g., to update a progress bar) because it is going to be unresponsive while the calculation is taking place.
Of course, designing multithreaded/concurrent applications requires the programmer to handle situations that simply don’t occur when developing single-threaded, sequential applications. For instance, when two or more threads try to access and modify a shared resource (race conditions), the programmer must be sure this will not leave the system in an inconsistent or deadlock state. Typically, this thread synchronization is solved using OS primitives, such as mutexes and sempaphores.

Is This Answer Correct ?    1 Yes 0 No

what is the difference between multitasking and multithreading?..

Answer / sachin

multi-threading:::
OS to execute different pats of a program will at same time with out interfacing with each other...
multitasking:::
ability to execute more then one task at the same time when a task begin program

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is a stream? what are the different types and classes of Streams?

2 Answers  


What is meant by wrapper classes?

3 Answers  


can used Protected Class outside Function.?

0 Answers   HCL,


Can we have two methods in a class with the same name?

0 Answers  


What is difference between static class and normal class?

0 Answers  






What best practices should you follow while writing multithreaded code in java?

0 Answers  


Can arraylist hold different types java?

0 Answers  


can two class in a code be public??if yes then how??

2 Answers  


What is math floor in java?

0 Answers  


when we create singleton design then we create private constructtor..so how JVM take private constructor to make object..but it's private..

1 Answers   Ness Technologies,


1) There are 10 different threads in runnable state. Each having priority 1 to 10. How does the CPU schedules or executes these threads?

2 Answers   RBS,


How to display all the prime numbers between 1 and 100

0 Answers  


Categories