mine 2day cs703 paper 05

Upload: muhammad-abubakar

Post on 14-Jan-2016

14 views

Category:

Documents


0 download

DESCRIPTION

This is the Virtual University of Pakistan CS703 paper

TRANSCRIPT

Mine 2day CS703 Paper 05-07-2015 Time 7:30 AM08 Nos. MCQS1. While writing an operating system for a real time environment what is the main trouble that programmer must overcome? 05 Marks2. Describe the action taken by third library to context switch between user kernel thread? 05 Mar3. Identify the nature of problem which could be solved by using the code given below, also describe the problem briefly? 05 marks. I wrote the producer consumer problem4. How to overcome fragmentation? 05 Marks.5. A special allocator was designed is known as Arena allocator, it exploit extreme behavior pattern of program to allocate and free inconsistent time. Briefly discuss what is that behavior pattern, and how does the Arena allocator work? 05 marks I wrote the producer consumer problem6. Sometimes semaphaores are not as much effective as they can be what do you think in which situation it happen and what problem they create and then what they termed are? 10 marks7. Aborting a process may not be so easy, if a process was in the midst of updating a file, terminating it will It will leave the system in an inconsistent state, if the partial termination method is used, this give a set of deadlock process. The process of this determines is policy decision similar to CPU scheduling problems so economy decision is needed. You are required to determine the criteria that make it possible for system to select which process should be turnaround. 10 marks8. The linux scheduler implements soft real time scheduling, what features are missing that are necessary from some real time programming tasks, how might be added into kernel? 10 marks.