Operating System Interview Questions
- 0of 0 votes
AnswersAre all the system calls interfaced in glibc ?
- neshg May 02, 2012 in India| Report Duplicate | Flag | PURGE
Operating System - 0of 0 votes
AnswersIf given a variable that is changing after every 1 second...
- ediston April 17, 2012 in United States
Design a clock using that avriable..
I am not sure if this question was more related to OS or not...| Report Duplicate | Flag | PURGE
Google Developer Program Engineer Operating System - 0of 0 votes
AnswersWhich is better to use - binary semaphore or mutex
- neshg April 09, 2012 in India| Report Duplicate | Flag | PURGE
Operating System - 1of 1 vote
AnswersWhere are the stack and heap located? How would you write a c program to tell if the stack frame was growing?
- apple-maybe? April 08, 2012 in United States for Data Mining| Report Duplicate | Flag | PURGE
Apple Software Engineer / Developer Operating System - 0of 0 votes
Answers1. Who is the (which process) the responsible for windows
- Hmmm February 20, 2012 in India for Xen-Client
2. updates ? How these windows 'Run' (winKey+R) commands work ?
3. Why the run commands won't work for user installed applications ? Any way to do so ?| Report Duplicate | Flag | PURGE
Citrix System Inc Quality Assurance Engineer Operating System - 0of 0 votes
AnswersSome questions on LINUX command level,
- Hmmm February 20, 2012 in United States for Xen-Client
A. command to find RAM memory space occupied by each process.
B.What does 'top' command do ?| Report Duplicate | Flag | PURGE
Citrix System Inc Quality Assurance Engineer Operating System - 0of 0 votes
Answersyou have given 3 task. you can run it using process or using thread. means 3 different process or combining them and run 3 different threads .which will you prefer and why?(f2f 4th round)
- time February 03, 2012 in India| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Operating System - 0of 0 votes
AnswersThere are two processes. One process(process 1) has a pointer to a variable in the other process(process 2). Now, can the variable be updated using this pointer in process 1?
- neha9.possible January 18, 2012 in India| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer Operating System - 0of 0 votes
AnswersGiven a uniprocessor system, is there any advantage of using threads when the process itself is pretty responsive?
- neha9.possible January 18, 2012 in India| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer Operating System - 0of 0 votes
AnswersOperating Systems (in windows):
- blue-j January 07, 2012 in United States for Global Foundation Services
* Difference between Process and Thread
* Deadlock
* Race condition| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer Operating System - 0of 0 votes
AnswersWhy linux is more stable than windows ?
- lipun4u December 03, 2011 in India| Report Duplicate | Flag | PURGE
Manhattan associates Developer Program Engineer Operating System - 0of 0 votes
AnswersProcess vs Thread
- saurabhsonu001 December 03, 2011 in India| Report Duplicate | Flag | PURGE
Infibeam Software Engineer / Developer Operating System - 0of 0 votes
AnswersHow will you restrict the memory allocated to a program by an operating system ?
- shashaanktyagi November 12, 2011 in India| Report Duplicate | Flag | PURGE
Morgan Stanley Analyst Operating System - 0of 0 votes
AnswersIs context switch a O(1) process or the context switch quantum is dependent on various local factors that can affect the time taken for it.
- tewari.varun September 27, 2011 in India
I responded, saying its a O(1), provided we treat each operation as process swap-in/out as single atomic events.| Report Duplicate | Flag | PURGE
NetApp Software Engineer / Developer Operating System - 1of 1 vote
Answersresult of this:
- Anonymous August 07, 2011main() { fork(); fork(); fork(); printf("hello\n"); }
| Report Duplicate | Flag | PURGE
C Operating System Threads - 0of 0 votes
Answerswhat are threads and processes. what is the meaning of synchronization
- dheeraj2311 July 20, 2011| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Operating System - 0of 0 votes
AnswerWhat is the mechanism for open(),read(),write() system calls how does the kernel implements them and what happens when a user space program uses
- McAfee July 11, 2011
open(file,r) like this with arguments,how does kernel implement it.| Report Duplicate | Flag | PURGE
McAfee Software Engineer / Developer Operating System - 0of 0 votes
AnswersWhat is the difference between spin lock, mutex,semaphore.I was clear on this answer but then he asked for a real example of mutex.
- McAfee July 11, 2011
I answered for busy waiting condition in spin lock,mutex there is no context switch.Then he said about pthread_mutex() call defined for using a mutex.Another program in which you do a fork and have a child process where are you going to use pthread_mutex in parent or in child.What is the difference between parent and child process?| Report Duplicate | Flag | PURGE
McAfee Software Engineer / Developer Operating System - 0of 0 votes
Answerswhat happens when ls is invoked from shell, when ls|wc is invoked? Discussed in detail about fork and exec.
- payback June 19, 2011 in United States| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Operating System Unix - 0of 0 votes
AnswersWhat is virtual memory?
- technew June 18, 2011| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Operating System - 0of 0 votes
AnswersDifference between Interrupt,Trap,Signals & System call.Relation between them such as "what is generated after what"?
- Sonam Garg June 17, 2011
1. What do you mean by maskable and NMI's, give examples?
2. what is the relation between interrupts and Signals?When you pres Ctrl-d or Ctrl-z what happens?Are Signals eg SIGINT,SIGFPE maskable?
3.What are Software Interrupts and TRAP? give examples.
4.IDT ans ISR's
The questions were asked as per my responses and I think I messed it up,plz clear my concepts and help for future job interviews.| Report Duplicate | Flag | PURGE
Citrix System Inc Software Engineer / Developer Operating System - 0of 0 votes
AnswersQuestion 4 : Asked basic concepts of OS like
- Sksharsha April 08, 2011
what is an OS , functionality and necessity of OS ??
* Difference b/w Process & Thread
* Asked about Android , on what OS its based and then started asking Memory Scheduling mechanisms ,Disk Scheduling Mechanisms , Process Address Space , Process attributes| Report Duplicate | Flag | PURGE
Motorola Software Engineer / Developer Operating System - 0of 0 votes
AnswersWhat is the maximum size of the file that can be accessed in a virtual memory machine?
- Shrikant Chaudhari March 16, 2011
Can you access 5GB file in a 32bit system entirely at the same time?
How would you determine the max file size?| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Operating System - 0of 0 votes
AnswersWhat are the key characteristics of an RTOS ? Compare those with that of a general purpose OS.
- Raj March 12, 2011| Report Duplicate | Flag | PURGE
Marvell Software Engineer / Developer Operating System - 0of 0 votes
AnswersHow does malloc work ?
- Bandiccot March 12, 2011| Report Duplicate | Flag | PURGE
Riverbed Software Engineer / Developer Computer Architecture & Low Level Linux Kernel Operating System - 0of 0 votes
Answersone system API available setOStimer(time n, function ptr, function arg)
- santosh February 13, 2011
it sets time for n sec. after expiration of timer it calls function.
if another timer set with setOStimer, it will erase previously sets timer.
Ex. at t = 0, setOStimer(5,fn,arg)
at t = 4, setOStimer(10,fn1,arg1)
now first timer removed.
Question is using this API, write own API setTimer(), it will use given API. So that it will not erase previously set timer.
I gave solution using min heap. as soon as min value become zero call given API.But he is not convince with my answer. Most of the time i feel that he is trying to confuse me, when i tried for any answer.
Because of 3rd round i am not selected| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Operating System - 0of 0 votes
AnswersAdobe 3rd round question.
- santosh February 13, 2011
write program to find out stack growing upward or downward.| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Operating System - 0of 0 votes
AnswersDifference b/w i3 and core 2 duo processor?
- bk February 07, 2011| Report Duplicate | Flag | PURGE
One97 Software Engineer / Developer Operating System