Cisy 304:Computer Operating Systemii Question Paper
Cisy 304:Computer Operating Systemii
Course:Computer Science
Institution: Kenya Methodist University question papers
Exam Year:2012
KENYA METHODIST UNIVERSITY
END OF 3''RD ''TRIMESTER 2012 (EVENING) EXAMINATIONS
FACULTY : COMPUTING AND INFORMATICS
DEPARTMENT : COMPUTER SCIENCE AND BUSINESS
INFORMATION
UNIT CODE : CISY 304/BBIT 419
UNIT TITLE : OPERATING SYSTEMS II
TIME : 2 HOURS
Instructions:
Answer question one and any other two questions.
Question One
Explain the following parameters passed to Read File ( ) function in the Win32 API.
HANDLE file
LPVOID buffer
DWORD bytes to read
LPDWORD bytes read
(12 marks)
Describe the following terms as used in operating systems.
Semaphore
Thread
Process
Contiguous file allocation.
(8 marks)
Describe the layered operating system structure with an aid of a diagram.
(8 marks)
Differentiate between characters oriented and block oriented I/O devices.
(2 marks)
Question Two
Explain the term "I/O buffering"
(2 marks)
Describe how sockets can be used by process running on client machine in order to communicate with server process. Highlight the specific system calls used.
(9 marks)
Briefly explain two classes of system programs.
(4 marks)
Question Three
Discuss three benefits of using virtual machines in operating systems.
(6 marks)
Briefly explain the term "DMA" as used in operating systems.
(4 mark)
State five advantages of multi-threading as used in operating systems.
(5 marks)
Question Four
Describe four process management system calls.
(8 marks)
Explain the following terms as used in interprocess communication
Socket
Monitor
RPC
(6 marks)
Explain the term "Segmentation" as used in memory management.
Question Five
Describe the interrupt driven I/O cycle with an aid of a diagram. (8 marks)
Differentiate between independent and cooperating process.
(4 mark)
Explain the term "linked file allocation" as used in file systems.
(3 marks)
More Question Papers