06-03-2010, 09:12 AM
[COLOR="red"]CS604 - Operating System
20 MCQ's and 6 questions
[/COLOR]
1. Write data structures for bakery algorithm? (2 marks)
2. Which command is used for suspending a foreground process? (2 marks)
3. Which command is used to resume the execution of a suspended job in the background? (3 marks)
4. Define race condition? (3 marks)
5. How to implement RR scheduling? (5 marks)
6. Highlight critical sections of this code? (5 marks)
do
{
while (TestAndSet(lock)) ;
Critical section
lock=false;
Remainder section
} while(1);
20 MCQ's and 6 questions
[/COLOR]
1. Write data structures for bakery algorithm? (2 marks)
2. Which command is used for suspending a foreground process? (2 marks)
3. Which command is used to resume the execution of a suspended job in the background? (3 marks)
4. Define race condition? (3 marks)
5. How to implement RR scheduling? (5 marks)
6. Highlight critical sections of this code? (5 marks)
do
{
while (TestAndSet(lock)) ;
Critical section
lock=false;
Remainder section
} while(1);