Thursday, May 27, 2010

CS604 MID 27May2010

CS604 paper.
total Qs 26.
20 MCQs.
2Qs of 2 marks.
2Qs of 3 marks.
2Qs of 5 marks.
Limited Register contains the size of the

process.
Command-line interpreter is also called shell in

some operating system.
You can use the cp file1 file2 command to copy file1

to file2.
IO bound process spend more time doing IO than

computation.
Pipes are used for communication between related

processes on a system.
What are pros and cons of multithreading?5 marks
user threadsare supported above kernel and are

implemented by a thread library at the user level.
Kernel threads are supported directly by the

operating system.
Inone-to-one model, there is a kernel thread for

every user thread.
What is waiting time in context of CPU burst?2marks
Prove that SJF is an optimal scheduling?3marks
A semaphore is an integer variable that, apart

from initialization is accessible only through two

standard atomic operations: wait and signal.
Q. What is the main disadvantage od semaphore?5marks
Q. About spinlock..3marks

Another Paper:-

20 MCQ's and 6 questions

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)

No comments:

Post a Comment