Describe the difference between a Thread and a Process?
Answer Posted / nahom tijnam
Thread is the basic unit of execution in a computer processor.
Process is an instance of a program that is executed sequentially. So when you fire up an application in your computer, you are starting a process.
Process consists of one or more threads. Single Threaded applications when run have a process with a single thread. Similarly, Multi-threaded applications (MTA) when run have a process with multiple threads.
In an MTA, the different threads can access the resources (like memory) owned by its process.
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is encapsulation oop?
When not to use object oriented programming?
What is overloading and its types?
What is object-oriented programming? Webopedia definition
What is multilevel inheritance in oop?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
Give two or more real cenario of virtual function and vertual object
Templates mean
How to hide the base class functionality in Inheritance?
What is the diamond problem in inheritance?
Why do we use oops?
What is encapsulation and abstraction? How are they implemented in C++?
Can a destructor be called directly?
What is the full form of oops?
What is the purpose of polymorphism?