ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Operating Systems  >>  Operating Systems General Concepts
 
 


 

 
 Windows interview questions  Windows Interview Questions
 Linux interview questions  Linux Interview Questions
 Unix interview questions  Unix Interview Questions
 Solaris interview questions  Solaris Interview Questions
 RTOS interview questions  RTOS Interview Questions
 Bulnex interview questions  Bulnex Interview Questions
 Operating Systems General Concepts interview questions  Operating Systems General Concepts Interview Questions
 Data Structures interview questions  Data Structures Interview Questions
 Operating Systems AllOther interview questions  Operating Systems AllOther Interview Questions
Question
What is Difference between thread and process?
 Question Submitted By :: Leossk
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is Difference between thread and process?
Answer
# 1
The major difference between threads and processes is 
1.Threads share the address space of the process that 
created it; processes have their own address.

2.Threads have direct access to the data segment of its 
process; processes have their own copy of the data segment 
of the parent process. 

3.Threads can directly communicate with other threads of 
its process; processes must use interprocess communication 
to communicate with sibling processes. 

4.Threads have almost no overhead; processes have 
considerable overhead.

5.New threads are easily created; new processes require 
duplication of the parent process.

6.Threads can exercise considerable control over threads of 
the same process; processes can only exercise control over 
child processes. 

7.Changes to the main thread (cancellation, priority 
change, etc.) may affect the behavior of the other threads 
of the process; changes to the parent process does not 
affect child processes. 
 
Is This Answer Correct ?    14 Yes 3 No
Swetcha
[Semanticspace]
 
  Re: What is Difference between thread and process?
Answer
# 2
Process is a program in execution where as thread is a 
seperate path of execution in a program.
 
Is This Answer Correct ?    17 Yes 1 No
Janet
 
 
 
  Re: What is Difference between thread and process?
Answer
# 3
process is a execution of a program and program contain set 
of instructions but thread is a single sequence stream 
within the process.thread is sometime called lightweight 
process. single thread alows a os to perform singler task 
ata time similarities between process and threads are: 
1)share cpu. 
2)sequential execution 
3)create child 
4)if one thread is blocked then the next will be start to 
run like process. 
dissimilarities: 
1)threads are not independent like process. 
2)all threads can access every address in the task unlike 
process. 
3)threads are design to assist onr another and process 
might or not might be assisted on one another.
 
Is This Answer Correct ?    5 Yes 2 No
Munshimubbi
 

 
 
 
Other Operating Systems General Concepts Interview Questions
 
  Question Asked @ Answers
 
RAM chips arranged in 4X6 array and of 8kX4bit capacity each. How many address lines reqd. to access each byte a. 12 b. 16 c.15 d. 17 Hughes2
Explain the difference between micro-kernel and macro-kernel? Give an examples of micro-kernel and macro-kernel?  1
What is a compiler?  4
What is Concurrency? Expain with example Deadlock and Starvation? Wipro2
How many jobs can be run concurrently on MVT?  2
What is multi-tasking, multi-programming,multi-threading?  3
What is DRAM?  2
What are the stipulations of C2 level security?  1
Explain Belady's Anomaly?  1
When is a system in safe state?  1
Differentiate between compiler and interpreter?  1
What is the difference between primary & secondary storage device?  3
Virtual memory size depends on [a] address lines [b] data bus [c] disc space [d] a & c [e] none Wipro3
Difference between Primary storage and secondary storage?  1
What are DDks? Name an operating system that includes this feature.  2
What is the difference between hard and soft real-time systems?  2
Differentiate between RAM and ROM? DELL4
List out some reasons for process termination.  2
abcD+abcd+aBCd+aBCD then the simplified function is ( Capital letters are copliments of corresponding letters A=compliment of a) [a] a [b] ab [c] abc [d] a(bc)* [e] mone (bc)*=compliment of bc Wipro2
Is Windows NT a full blown object oriented operating system? Give reasons.  1
 
For more Operating Systems General Concepts Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com