Describe the difference between a Thread and a Process?

Answers were Sorted based on User's Feedback



Describe the difference between a Thread and a Process?..

Answer / kirti

A Process is an instance of an running application. And a thread is the Execution stream of the Process. A process can have multiple Thread.

When a process starts a specific memory area is allocated to it. When there is multiple thread in a process, each thread gets a memory for storing the variables in it and plus they can access to the global variables which is common for all the thread. Eg.A Microsoft Word is a Application. When you open a word file,an instance of the Word starts and a process is allocated to this instance which has one thread.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

What do you mean by stack program? Get me an example stack program?

4 Answers  


Why do we use polymorphism in oops?

0 Answers  


Why is oop useful?

0 Answers  


What is the difference between encapsulation and polymorphism?

0 Answers  


WHY FUCTION OVERLOADING DOSENOT RETURN A RETEN TYPE

2 Answers  






Why is polymorphism important in oop?

0 Answers  


how to write a java program for an output ****0 ***01 **012 *0123 01234

1 Answers  


what are the disadvantages of C++?

25 Answers   ATS, Infosys, UNI, Wipro,


What does sksksk mean in text slang?

0 Answers  


What is encapsulation in oop?

0 Answers  


Plese get me a perfect C++ program for railway/airway reservation with all details.

0 Answers   ITM,


Do you know about multiple inheritance?

1 Answers   Motorola,


Categories