Describe the difference between a Thread and a Process?
Answer Posted / 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 View All Answers
What is encapsulation process?
What is oops concept with example?
What is interface? When and where is it used?
What is ambiguity in inheritance?
What is coupling in oops?
What is class in oop with example?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
What is cohesion in oop?
Is enum a class?
Why is polymorphism important in oop?
What are oops functions?
What is polymorphism in oop example?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
Why do we need oop?
What is byval and byref? What are differences between them?