ALLInterview.com :: Home Page            
 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       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
   
 
Categories  >>  Software  >>  Java Related  >>  Java J2EE  >>  Core Java
 
 


 

 
 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 ?    221 Yes 14 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 ?    126 Yes 20 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 ?    87 Yes 16 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 ?    30 Yes 11 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 ?    33 Yes 5 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 ?    17 Yes 5 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 ?    29 Yes 16 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 ?    17 Yes 9 No
Seetaram
 
  Re: what is the difference between multitasking and multithreading?
Answer
# 9
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 ?    8 Yes 10 No
Manasa
 
  Re: what is the difference between multitasking and multithreading?
Answer
# 10
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 ?    11 Yes 8 No
Kiran Reddy
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
can we create object for static class in java Marlabs12
What advantage does an entity bean have over a sessin bean? Adobe3
what is an object class?Explain its methods?  6
To what value is a variable of the Boolean type automatically initialized?  3
when there is a need of jvm then how we can say that java is a platform independent language?  3
What are wrapper classes? Noah-Solutions11
Difference between hashCode() & equals()? HCL3
Why Wait and notify are kept in Object class although they are used only with Thread Class Saksoft2
What is the difference between throw and throws? What is the similarity between try and throw?  2
what modifiers are used with top-level class?  2
Name the types of 'priority'?  2
What is Collections API?  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 © 2012  ALLInterview.com.  All Rights Reserved.

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