



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
These are the Old Exam of Operating Systems which includes Secrecy of Users, Passwords, Environmental Variable Path, Partitioning a Disk, Criteria for File Organisation etc. Key important points are: Semaphore’S Initial Value, Process Control Block, Process Switch, Context Switch, Mutual Exclusion Problem, Critical Section, Critical Resource, Mutual Exclusion Problem, Consumer Problem, Synchronisation Problem
Typology: Exams
1 / 6
This page cannot be seen from the preview
Don't miss anything!




Examinations 2007/
Module Title: Operating Systems
Module Code: OPSY S
School: Computing & Mathematics
Programme Title: Higher Certificate in Science in Computing (ACCS) – Year 2
Programme Code: KCOME_6_Y
External Examiner(s): Ms. Mairead Meagher Ms. Anna Brown Internal Examiner(s): Mr. Paul Rothwell
Instructions: Answer any FOUR questions. All questions carry equal marks.
Duration: 3 HOURS
Sitting: Winter 2007
Requirements for this examination: N/A
Note to Candidates: Please check the Programme Title and the Module Title to ensure that you have received the correct examination paper. If in doubt please contact an Invigilator.
and fairness, and expandability. Briefly discuss, each of these goals with the help of examples drawn from any aspect of operating systems. [6 marks]
With the aid of an example, comment on (^) the significance of the logical/physical divide from the point of view of the programmer. [4 marks]
(b) Briefly outline the role of the process control block (PCB). [3 marks] Summarise (^) the typical contents of a PCB. [4 marks]
(c) List and briefly explain^ the steps involved in a process switch. [5 marks] Briefly distinuish (^) between a process switch and a context switch. [3 marks] [Total: 25 marks]
(b) Write pseudocode to fully describe^ the Banker’s algorithm (and its associated ‘safety’ algorithm) for deadlock avoidance. [7 marks] Fully explain the meaning of the following terms in this algorithm: Allocation, Max, Available, Need. [4 marks]
(c) Based on the following information, show and explain how the banker’s algorithm you described can be used to determine if the following resource request from process 2 is granted: request 2 = (0,1,0) [6 marks]
Process Allocation Max Available type => X Y Z X Y Z X Y Z 0 0 0 1 0 0 1 2 1 0 1 2 3 0 2 6 5 2 0 0 3 6 6 5 3 2 3 5 4 3 5
[Total: 25 marks]
(b) Fully explain^ the following terms with respect to resident set management: (i) fixed allocation, local scope; (ii) variable allocation, global scope; (iii) variable allocation, local scope. [3 marks] Briefly explain and comment upon each of the following characteristics that may be taken into account in the choice of a victim page when replacing a page in virtual memory management: recency, age, frequency, modify/dirty bit. [8 marks]
(c) Assuming memory is managed using a paged virtual memory management scheme, outline the notion of a page fault. [2 marks] List and briefly describe the steps involved in the page fault handling routine. [3 marks] [Total: 25 marks]