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 are the realtime excercises in C++?
What is polymorphism and types?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
What is polymorphism what is it for and how is it used?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is the fundamental idea of oop?
What is inheritance in simple words?
What is class in oop with example?
2. Give the different notations for the class.\
Which is not an object oriented programming language?
Can you inherit a private class?
what is the sylabus for priliminaries?
What is the problem with multiple inheritance?
What is the advantage of oop over procedural language?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.