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                      
Google
   
 
Categories >> Software >> Java Related >> Java J2EE >> Core Java
 
 


 

 
 Core Java interview questions  Core Java Interview Questions (1720)
 Advanced Java interview questions  Advanced Java Interview Questions (331)
 Swing interview questions  Swing Interview Questions (43)
 EJB interview questions  EJB Interview Questions (134)
 Servlets interview questions  Servlets Interview Questions (255)
 Struts interview questions  Struts Interview Questions (195)
 JDBC interview questions  JDBC Interview Questions (187)
 JMS interview questions  JMS Interview Questions (9)
 SunOne interview questions  SunOne Interview Questions (3)
 J2EE interview questions  J2EE Interview Questions (71)
 Weblogic interview questions  Weblogic Interview Questions (145)
 Websphere interview questions  Websphere Interview Questions (14)
 Java Networking interview questions  Java Networking Interview Questions (20)
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions (87)
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 ?    227 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 ?    128 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 ?    90 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 ?    18 Yes 10 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 ?    11 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 ?    12 Yes 9 No
Kiran Reddy
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
Name the types of mouse event listeners ?   2
why abstract class will have a constructor?   3
what is run time polymorphism   3
Who developed JScript language?   3
How many times garbage collector will invoke an object?s finalize() method?   4
What is the purpose of the File class?   3
Java support call by reference (pass by reference) ? HCL 1
Is 'null' a keyword?   8
Is there any use of an abstract class which has no methods and no attributes? Wipro 1
Difference between Web-based applications,Client- Server applications and Distributed applications? Infosys 3
Write java code to print "Hello how are you" Thread1 should have "Hello" Thread2 should have "how are you" both the threads should start at the same time Huawei 4
what's diff between struts 1.1 & 1.2 Wipro 3
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com