Describe the difference between a Thread and a Process?
Answers were Sorted based on User's Feedback
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 |
What type of Job you are providing?
write knight tour problem which is present in datastructure
1. Strong name 2. how to prevent a class from being inherited 3. delegates 4. default modifier for interface 5. default modifier for class 6. base class for exception 7. diff bet trigger and view in sql 8. how to exchange values from one page to another page 9. can multiple catch block ll be executed at same time 10. can u store different data types in an array & array list 11. when we ll use trigger 12. try,catch,finally usage
What is command routing in MFC
Can we have a private virtual method ?
What is the purpose of enum?
what is opps?why it is use in programming language?
What is the correct syntax for inheritance? 1) class aclass : public superclass 2) class aclass inherit superclass 3) class aclass <-superclass
Why do we use class in oops?
What are different oops concepts?
what is data hiding.
What is a superclass in oop?