Operating System Interview Questions
- 0of 0 votes
AnswersImplement counting semaphore in Java.
- Mugdha February 01, 2011| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Operating System - 0of 0 votes
AnswerSimiliar to memory barriers & conditional variable(used in multi threaded process) ,what can u do for multi process application?
- Kelgada January 19, 2011
HInt:IPC's is overkill.Think about file.| Report Duplicate | Flag | PURGE
EMC Software Engineer / Developer Operating System - 0of 0 votes
Answers1. What is file system ?
- Gautam Kumar January 17, 2011
2. How to recover if super block got corrupted?| Report Duplicate | Flag | PURGE
NetApp Software Engineer / Developer Operating System - 0of 0 votes
AnswersWhat is a deadlock ? WAP in C++/C to remove deadlock
- Anonymous December 18, 2010| Report Duplicate | Flag | PURGE
One97 Software Engineer / Developer Operating System - 1of 1 vote
AnswersSuppose here are n processes in the system and each one needs k instances of a resources to complete. What would be the minimum number of resources that you should keep in the system to ensure no deadlock in the system.]
- dev November 06, 2010
a.n*k
b.n*k-n+1
c.n*k+1
d.n*k*k
e.None of the above| Report Duplicate | Flag | PURGE
Microsoft Developer Program Engineer Operating System - 0of 0 votes
AnswersWhat's the difference between Bandwidth and Latency?
- Cartman October 19, 2010| Report Duplicate | Flag | PURGE
Software Engineer / Developer Operating System - 0of 0 votes
Answers1. When do deallocks occur?
- Cartman October 19, 2010
2. How to avoid them?| Report Duplicate | Flag | PURGE
Software Engineer / Developer Operating System - 0of 0 votes
AnswersWhat's an efficient way to process a large file, with lines of varying length?
- JeffD October 08, 2010
-- I said, break it up and process the pieces in parallel, using fseek to divide up the file, and scan backward and forward for the line terminators to decide which chunk a line belongs to. I think the answer he wanted though was to memory map it.| Report Duplicate | Flag | PURGE
PayPal Software Engineer / Developer Operating System - 0of 0 votes
AnswersLots of questions on Linux kernel, interrupts and performance measuring of a multimedia application during lunch interview. Need to have basic knowledge on interrupts, kernel mode operations, memory management (e.g. how to detect memory leak - i answered dalloc or mtrace).
- Interviewee October 07, 2010| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer in Test Operating System - 0of 0 votes
AnswersProcess has some 10 threads and all 10 threads entered DEADLOCK state. How can you free process(threads) from DEADLOCK state ? . Is there any way to kill lower priority thread ? . Can we attach that deadlocked process to the debugger and assign proper value to the Mutex variable ( assume all the threads are waiting on a mutex variable MUT but it is value is 0 and can we assign MUT value to 1 through debugger ) .
- FIGHTER October 02, 2010| Report Duplicate | Flag | PURGE
NetApp Software Engineer / Developer Operating System - 0of 0 votes
AnswersWhere is the process descriptor structure stored?(Higher 3Gb-4gb)? Is it shared among all processes or separate
- Anonymous September 26, 2010
Implementation details about a semaphore
DOes linux support semaphores?(he said no..only spinlock)| Report Duplicate | Flag | PURGE
Intel Software Engineer / Developer Operating System - 0of 0 votes
AnswersPhone screen: Asked a few Windows platform questions like how to create and manage a thread.
- dimarzio August 30, 2010| Report Duplicate | Flag | PURGE
Real Networks Software Engineer / Developer Operating System - 1of 1 vote
AnswersGiven a matrix of integers where every row is sorted and every column is sorted. Print all elements in sorted order.
- Anonymous August 27, 2010
Cannot use merging of arrays. Solution should be better than O(n2logn)| Report Duplicate | Flag | PURGE
IBM System Administrator Operating System - 0of 0 votes
AnswersWhat is difference between static linking and dynamic linking?
- Nits August 02, 2010| Report Duplicate | Flag | PURGE
Texas Instruments Software Engineer / Developer Operating System - 0of 0 votes
AnswersWhat are the different file types avilable in unix system
- machili.krishna July 06, 2010| Report Duplicate | Flag | PURGE
Oracle Software Engineer / Developer Operating System - 0of 0 votes
AnswersAsked about zombie processes. What happens underneath when a unix shell executes a command in background (e.g., "gcc foo.c &")
- callbacker June 25, 2010
(Hint: we talked about SIGCHLD signal, signal handler, waitpid, return value of a process, etc)| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Operating System - 0of 0 votes
AnswersLets say you have a unix shell, and you type a unix command, say, for example "ls". What happens at the system level? (basically asking about fork() and exec() )
- callbacker June 25, 2010| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Operating System - -1of 1 vote
AnswersLots of stuff about linux scheduler.
- guest May 13, 2010| Report Duplicate | Flag | PURGE
VMWare Inc Software Engineer / Developer Operating System - 0of 0 votes
AnswersWhat is difference between named pipes and unnamed pipes ?
- sumeet4linux May 04, 2010| Report Duplicate | Flag | PURGE
NVIDIA Development Support Engineer Operating System - 0of 0 votes
AnswersHow will you find out if a stack grows up or down in a system ? More importantly, which is better: a system in which the stack grows up or one in which a stack grows down ?
- Bandicoot April 02, 2010| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Operating System - 0of 0 votes
AnswersYou have a system in which there is a timer that interrupts the system every 20ms. If the system is interrupted, an ISR runs to handle that interrupt. How will you design your system to find if that ISR runs for more than 20ms [in most cases an ISR will be very short...but assume in this case its not] ?
- Bandicoot April 02, 2010| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Operating System - 0of 0 votes
AnswersWhich is the fastest IPC mechanism and why ?
- Bandicoot March 27, 2010| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Operating System - 0of 0 votes
AnswersWhat do you mean by heap fragmentation ?
- Bandicoot March 27, 2010| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Operating System - 0of 0 votes
AnswersHow do you detect stack overflow ?
- Bandicoot March 27, 2010| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Operating System - 0of 0 votes
AnswersDesign a cache by Least Recently Used method (LRU).
- Anonymous February 22, 2010| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Operating System - 0of 0 votes
AnswersHow would you design parallel access to a filesystem?
- - February 22, 2010| Report Duplicate | Flag | PURGE
NetApp Software Engineer / Developer Operating System