Operating System Interview Questions
- -2of 4 votes
AnswersWrite a thread safe data structure such that there could be only one writer at a time but there could be n readers reading the data. You can consider that incrementing or decrementing a variable is an atomic operation. If more than one threads try to write simultaneously then just select one randomly and let others wait
- vik September 13, 2013 in United States| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer C++ Data Structures Operating System - 0of 0 votes
AnswersWhat is the difference between paging and swapping?
- Ram August 06, 2013 in United States for QATeam
In windows OS, "My Computer", we see the option of paging, what does that mean?| Report Duplicate | Flag | PURGE
VMWare Inc Quality Assurance Engineer Operating System - 0of 0 votes
AnswersWhen we click on the power button of our Laptop, what happens immediately and how the windows is loaded?
- Ram August 06, 2013 in India for QATeam| Report Duplicate | Flag | PURGE
VMWare Inc Quality Assurance Engineer Operating System - 0of 0 votes
AnswersHow does the print operation work when we try to give a print from a word document?
- Ram August 06, 2013 in India for QATeam
What is the use of software that comes along with the printer?
How the data is printed after we click on the print button?
What logic is applied for the data to be transferred to the printer?
What is the logic that makes the printer print the data on a sheet of paper?| Report Duplicate | Flag | PURGE
VMWare Inc Quality Assurance Engineer Operating System - 4of 4 votes
AnswersYou are having a 500 MB RAM and you have a program which uses malloc to allocate 600 MB memory . What will happen , will it be allocated using the concept of virtual memory or not , if yes how?
- P3A July 23, 2013 in India| Report Duplicate | Flag | PURGE
Yahoo SDE1 Operating System - 1of 7 votes
Answersif we open a new tab in a browser,is it a new process or thread?and what if we open a new window of the browser?
- Amit July 01, 2013 in India| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer Operating System - -3of 3 votes
AnswersIf have unlimited memory, how can we achieve concurrency between threads without using locks?
- andrew February 05, 2013 in United States| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Operating System - 0of 0 votes
AnswersDisadvantages of locks? What is Deadlock? What is Starvation?
- andrew February 05, 2013 in United States| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Operating System - 0of 0 votes
AnswersHow OS decide how much memory is needed as virtual memory ? Max % of memory which can be available as virtual memory?
- savi January 27, 2013 in India| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer Operating System - 0of 0 votes
AnswersDesign a data structure for LRU where replacement can take up to O(log n ) time, searching take O(log n) time, inserting will also take only O(log n) time(Big question, I was given some time(around 5 to 10 minute) to think) ?
- sonesh January 01, 2013 in India for Strategies Group| Report Duplicate | Flag | PURGE
Goldman Sachs Software Engineer / Developer Operating System - 0of 0 votes
AnswersWhat is virtual memory, how operating system uses it ?
- sonesh January 01, 2013 in India for Strategies Group| Report Duplicate | Flag | PURGE
Goldman Sachs Software Engineer / Developer Operating System - 0of 0 votes
AnswersImplement your own API and library for a synchronization OS problem.Write your own semaphore.
- atanu1991 December 10, 2012 in India
Eg: Capacity of TAM is 5 .. Queue of people outside is 100. Synchronization reqd.| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer Algorithm Operating System - 0of 0 votes
AnswersPlease tell basics difference between windows system programming and Unix system Programming.
- gaurav.2897 November 05, 2012 in India| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Operating System - 0of 0 votes
AnswersHow will you ensure mutual exclusion in Multi-core processors?
- kaustubh deshmukh September 24, 2012 in India| Report Duplicate | Flag | PURGE
Symantec Associate Operating System - 0of 0 votes
Answershow multithreading is achieved in multicore processors?
- kaustubh deshmukh September 16, 2012 in India| Report Duplicate | Flag | PURGE
Symantec Associate Operating System - 0of 0 votes
Answershow many threads a process can have?
- kaustubh deshmukh September 16, 2012 in India| Report Duplicate | Flag | PURGE
Symantec Associate Operating System - 0of 0 votes
Answersdifference between synchronous and asynchronous io
- guest September 15, 2012 in United States| Report Duplicate | Flag | PURGE
Operating System - 2of 2 votes
AnswersDoes it always happen that stack always grows downwards & heap grows upwards?
- Aashish June 22, 2012 in India
If its so, then how does OS keeps the heap area protected from the interference of the stack & vice-versa?
If its not, then what factors affect it? OS version ? Compiler? Anything else??| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer Operating System - 0of 0 votes
Answersdifference between preemptive and cooperative multithreading
- Itcecsa June 10, 2012 in United States| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Operating System - 0of 0 votes
Answerspipe VS message queue
- Itcecsa June 10, 2012 in United States| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Operating System - 0of 0 votes
Answershared mmy VS mmy mapped file
- Itcecsa June 10, 2012 in United States| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Operating System - 0of 0 votes
AnswersWhen you receive a crash dump for a process from a particular customer, Is it possible to know the line number of which function has caused the problem?
- sekhar June 07, 2012 in United States| Report Duplicate | Flag | PURGE
Cisco Systems Operating System - 0of 0 votes
AnswersHow do you identify which process has crashed in customer env, if there are multiple process crash at same time.
- sekhar June 07, 2012 in United States| Report Duplicate | Flag | PURGE
Cisco Systems Developer Program Engineer Operating System - 0of 0 votes
AnswersDefinition of high-level operating system (HLOS).
- K May 24, 2012 in United States| Report Duplicate | Flag | PURGE
Operating System - 0of 0 votes
AnswersIn a multi-threaded process,If one thread is busy on I/O will the entire process be blocked?
- chandan.jc May 10, 2012 in United States for System Software| Report Duplicate | Flag | PURGE
NVIDIA Intern Operating System - 0of 0 votes
Answerswhat are the different forms of IPC in UNIX?
- Itcecsa May 10, 2012 in United States| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Operating System - 0of 0 votes
Answerswhat is better(why and how): multi processes OR single process with multiple threads?
- Itcecsa May 10, 2012 in United States| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Operating System - 0of 0 votes
Answerswhat happens if the parent process ends before the child process?
- Itcecsa May 10, 2012 in United States| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Operating System - 0of 0 votes
Answershow do applications communicate with kernel?
- Itcecsa May 10, 2012 in United States| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Operating System