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

Is char a data type in java?

0 Answers  


How can you read content from file in java?

0 Answers   HCL,


Why Static variable required in java?For ex,class A { static int a; int b; } Why static is required?

5 Answers   Ericsson,


What is the requirement of thread in java?

0 Answers  


what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread

0 Answers  






What is the difference between parameters and arguments ?

2 Answers  


Java is Pass by Value or Pass by Reference?

0 Answers   BirlaSoft,


84. try { 85. ResourceConnection con = resourceFactory.getConnection(); 86. Results r = con.query(”GET INFO FROM CUSTOMER”); 87. info = r.getData(); 88. con.close(); 89. } catch (ResourceException re) { 90. errorLog.write(re.getMessage()); 91. } 92. return info; Which is true if a ResourceException is thrown on line 86? 1 Line 92 will not execute. 2 The connection will not be retrieved in line 85. 3 The resource connection will not be closed on line 88. 4 The enclosing method will throw an exception to its caller.

1 Answers  


What is singleton service?

0 Answers  


What is a variable declaration?

0 Answers  


What is your platform’s default character encoding?

0 Answers  


If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?

0 Answers   CDAC,


Categories