ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
what is the difference between multitasking and 
multithreading?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is the difference between multitasking and multithreading?
Answer
# 1
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 ?    32 Yes 3 No
Priyanjan
 
  Re: what is the difference between multitasking and multithreading?
Answer
# 2
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 ?    24 Yes 3 No
Denish Kanabar
 
 
 
  Re: what is the difference between multitasking and multithreading?
Answer
# 3
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 ?    21 Yes 2 No
Divya
 
  Re: what is the difference between multitasking and multithreading?
Answer
# 4
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 ?    3 Yes 1 No
Geetha Krishna
 
  Re: what is the difference between multitasking and multithreading?
Answer
# 5
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 ?    7 Yes 1 No
Geetha.v
 
  Re: what is the difference between multitasking and multithreading?
Answer
# 6
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 ?    2 Yes 0 No
Ashok Kumar
 
  Re: what is the difference between multitasking and multithreading?
Answer
# 7
Multitasking is of two types
1> process based.
2>thread based.
 
Is This Answer Correct ?    4 Yes 1 No
Mukesh Gupta
 
  Re: what is the difference between multitasking and multithreading?
Answer
# 8
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 ?    2 Yes 0 No
Seetaram
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
What are event-delegation model and event-inheritance model? Which is best?  1
when we write class.forName("any one class"); what happens actually?what it will return?explain stepwise?  4
How 'java' got its name and what it stands for?  5
Hi Friends, can you give difference between extending thread class and implementing runnable interface.  2
why to use transient variables when static variables can be used for Serialization  3
What are null interfaces in JAVA ? and give me some examples?  3
what is mean by method signature? Satyam6
How the elements are organized in GridLayout?  1
What is advantage of using threads? BMC2
What is emant by API? is it related to java only or it is common for all OOPS supporting language?  2
what is an object class?Explain its methods?  3
What is meant by throwing an Exception? Accenture4
To obtain design information about an object, which class in used?  1
what is meta-Inf? Polaris2
what is real-time example of runtime polymorphism and compile time polymorphism  1
what are the jsp tags with example? Photon1
Which class should you use to obtain design information about an object  2
Difference between ?System.out.println? and ?System.error.println?? Sai-Softech2
What is an array and a vector? How they different from each other?  3
What is meant by controls and types?  1
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com