|
INTERVIEW QUESTIONS
PROGRAMMING LANGUAGES
WINDOWS PROGRAMING
DETAILS
Question: What is the difference between a computer process and thread?
Answer: A single process can have multiple threads that share global data and address space with other threads running in the same process, and therefore can operate on the same data set easily. Processes do not share address space and a different mechanism must be used if they are to share data.
If we consider running a word processing program to be a process, then the auto-save and spell check features that occur in the background are different threads of that process which are all operating on the same data set (your document).
process: In computing, a process is an instance of a computer program that is being sequentially executed[1] by a computer system that has the ability to run several computer programs concurrently.
Thread: A single process may contain several executable programs (threads) that work together as a coherent whole. One thread might, for example, handle error signals, another might send a message about the error to the user, while a third thread is executing the actual task of the...
|
|
|
Category |
Windows Programing Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 7752 users |
Added on |
9/22/2014 |
Views |
71318 |
Rate it! |
|
|
Question:
What is the difference between a computer process and thread?
Answer:
A single process can have multiple threads that share global data and address space with other threads running in the same process, and therefore can operate on the same data set easily. Processes do not share address space and a different mechanism must be used if they are to share data.
If we consider running a word processing program to be a process, then the auto-save and spell check features that occur in the background are different threads of that process which are all operating on the same data set (your document).
process: In computing, a process is an instance of a computer program that is being sequentially executed[1] by a computer system that has the ability to run several computer programs concurrently.
Thread: A single process may contain several executable programs (threads) that work together as a coherent whole. One thread might, for example, handle error signals, another might send a message about the error to the user, while a third thread is executing the actual task of the... Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What is MUTEX?
|
View Answer
|
|
Name the AD NCs and replication issues for each NC?
|
View Answer
|
|
What are administrative templates?
|
View Answer
|
|
What are GPO links? What special things can I do to them?
|
View Answer
|
|
What are the GPC and the GPT? Where can I find them?
|
View Answer
|
|
Name a few benefits of using GPMC?
|
View Answer
|
|
What is the order in which GPOs are applied?
|
View Answer
|
|
What are GPOs?
|
View Answer
|
|
How do we restore AD?
|
View Answer
|
|
How do we Backup Active Directory?
|
View Answer
|
|
What is tombstone lifetime attribute?
|
View Answer
|
|
What is the KCC?
|
View Answer
|
|
What are application partitions? When do we use them?
|
View Answer
|
|
What is the SYSVOL folder?
|
View Answer
|
|
What is LDAP?
|
View Answer
|
|
Ntfldr.exe is missing in win xp os what will you do?
|
View Answer
|
|
If 512mb Ram is there what will be the minimum and maximum Virtual memory for the system?
|
View Answer
|
|
How to change the windows xp product key if wrongly installed with other product key but you have original product key? What you will do to Make your os as Genuine?
|
View Answer
|
|
What is the Logical / Physical Structures of the AD Environment?
|
View Answer
|
|
How do you recover an object in Active Directory, which is accidentally deleted by you, with no backup?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Windows Programing Interview Questions & Answers - Exam Mode /
Learning Mode
|