



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Autumn Examinations 2009/
Module Code: SOFT 7006
School: Science
Programme Title: Bachelor of Science in Software Development & Computer Networking – Stage 2 Bachelor of Science (Honours) in Software Development – Stage 3
Programme Code: KDNET_8_Y KSDEV_8_Y
External Examiner(s): Mr Ken Carroll Internal Examiner(s): Mr. Gerard McSweeney
Instructions: Answer FOUR questions. All questions carry equal marks.
Duration: 2 Hours
Sitting: Autumn 2010
Requirements for this examination:
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.
(a) Write down an example of when a process might be interrupted. ( 2 Marks )
(b) What is an interrupt handler? ( 2 Marks )
(c) What is the difference between sequenced and nested interrupts? ( 2 Marks )
(d) Construct a diagram showing the fetch execute cycle with interrupts. ( 5 Marks )
(e) With reference to processing, draw and label the seven-state transition table. ( 8 Marks )
(f) What is Linux swap space? ( 2 Marks )
(g) When would an administrator create a swap partition? ( 2 Marks )
(h) Apart from swap partitions, what is the other type of swap space? ( 2 Marks )
(a) With reference to process scheduling, distinguish between:
Long term scheduling Medium term scheduling Short term scheduling ( 6 Marks )
(b) Give an example of a pre-emptive and a non pre emptive scheduling algorithm. ( 2 Marks )
(c) What is the purpose of the dispatcher? ( 2 Marks )
(d) Consider the following set of processes:
Arrival Service P1 0 2 P2 2 6 P3 4 2 P4 6 1
Draw a time line to show the execution of each of these processes for the shortest process next scheduling algorithm. ( 4 Marks )
(e) Calculate the Turnaround Time and the Normalised Turnaround Time. ( 4 Marks )
(f) Explain what is meant by concurrency? ( 2 Marks )
(g) What are the requirements for Mutual Exclusion? ( 5 Marks )
(a) In memory management, explain what is meant by the logical address and the physical address. ( 4 Marks )
(b) Paging is a form of memory address translation, name another. ( 1 Mark )
(c) If a logical address is 0011110101101001 and the page table is as follows:
Calculate the physical address. ( 4 Marks )
(d) With the aid of a diagram, explain how the buddy system works. ( 5 Marks )
(e) With reference to disk space allocation, explain how the UNIX block addressing scheme caters for both large and small files. ( 3 Marks )
(f) What is the name of the standard Linux file system? ( 1 Mark )
(g) Name two windows file systems. ( 2 Marks )
(h) How might an administrator install more than one operating system on a hard disk? ( 2 Marks )
(i) If a UNIX block can hold 256 addresses and each block is 1K, calculate the maximum file size. ( 3 Mark )