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 the main purpose of inheritance law?
What is abstraction with example?
What is cohesion in oop?
Can you inherit a private class?
What is polymorphism what is it for and how is it used?
What are objects in oop?
What are the 3 principles of oop?
What are two types of polymorphism?
What is for loop and its syntax?
Why it is called runtime polymorphism?
What does I oop mean?
How long to learn object oriented programming?
What is object in oop with example?
What is polymorphism explain?
Which language is pure oop?