Search Interview Questions
| More than 3000 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Operating system - Interview Questions and Answers for 'Amazon' - 1 question(s) found - Order By Newest|
|Frequently asked to fresh graduates.|
|Ans. Process is a program in execution whereas thread is a separate path of execution in a program.|
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  java   threads   multi threading   operating system   process vs thread Asked in 24 Companies basic   frequent|
|What is a Deadlock ?|
|What is the difference between time slicing and preemptive scheduling ?|
|What are the difference between Threads and Processes ?|
|Why threads block or enters to waiting state on I/O?|
|What is the difference between yield() and sleep()?|
|What is the initial state of a thread when it is created and started?|
|What is suspend() method used for ?|
|Difference between suspend() and stop() ?|
|What is a daemon thread? Give an Example ?|