Cisy 304:Computer Operating Systemii Question Paper
Cisy 304:Computer Operating Systemii
Course:Computer Science
Institution: Kenya Methodist University question papers
Exam Year:2013
KENYA METHODIST UNIVERSITY
END OF 3''RD ''TRIMESTER 2013 (FT) EXAMINATION
FACULTY : COMPUTING & INFORMATICS
DEPARTMENT : COMPUTER SCIENCE AND BUSINESS INFORMATION
UNIT CODE : CISY 304/BBIT 419
UNIT TITLE : COMPUTER OPERATING SYSTEM II
TIME : 2 HOURS
INSTRUSTIONS: Answer question one and any other two questions
Question One
Differentiate between the following terms
Programmed i/o and interrupt driven i/o.
(2mks)
Status and control register
(2mks)
System call and API.
(2mks)
With an aid of a diagram, describe the layered operating system structure. (5mks)
Briefly describe the following memory placement algorithms.
Best fit
(2mks)
First fit
(2mks)
Next fit
(2mks)
Give the function of each of the following file management system caus.
Fd=open (file, how,…)
S= closed (fd)
N= read (fd, buffer, nbytes)
N = write (fd, buffer, nbytes)
S = stat (name, $ buf)
(5mks)
Explain the following terms as used in interprocess communication
Semaphore
(2mks)
Monitor
(2mks)
Message passing
(2mks)
Differentiate between a process and a thread.
(2mks)
Question Two
Describe how client processes communication with server process using socket IPC mechanism.
(6mks)
Differentiate between device controller and device interface.
(2mks)
With an aid of a diagram, explain the operation of direct memory access. (DMA)
(7mks)
Question Three
Explain the following memory management schemes
Dynamic partitioning.
(3mks)
Segmentation.
(3mks)
With an aid of a diagram, describe remote procedure call mechanism.
(9mks)
Question Four
Compare the following terms as used in file systems.
Direct and sequential access
Linked and contiguous allocation.
(4mks)
Explain any five parameters passed to a read files( ) function in the win 32 API.
(10mks)
Give one method used to pass parameters in the operating systems. (1mk)
More Question Papers