Os 2
Os 2
061005T4ICT
ICT TECHNICIAN LEVEL 5
IT/OS/ICT/CR/6/5
MANAGE OPERATING SYSTEM
Mar. /Apr. 2023
Time: 3 Hours
WRITTEN ASSESSMENT
3 Hours om
.c
et
tv
INSTRUCTIONS TO CANDIDATES:
sy
ea
Page 2 of 8
©2023 The Kenya National Examination Council
6. Under the normal mode of operation, identify the right sequence through which a process
may utilize a resource? (1 Mark)
A. Request – Use – Release
B. Request – Hold – Use – Release
C. Hold – Use – Release
D. Request – Hold – Release
7. The following are advantages of demand paging in memory management, which one is
not? (1 Mark)
A. Large virtual memory.
B. The amount of processor overhead for handling page interrupts is less than for
simple paging
C. More efficient use of memory.
D. There is no limit on degree of multiprogramming.
8. Which one of the following are the three approaches through which the CPU
om
communicates with hardware devices? (1 Mark)
.c
A. Special Instruction I/O, Batch Instruction I/O, Direct memory access (DMA)
et
tv
11. Which one of the following is the most accurate description of monitors? (1 Mark)
A. An abstract data type that is used for process synchronization.
B. An integer variable which indicate the number of resources available in the
system
C. A queue for which multiple processes are waiting for a particular I/O device.
D. Mechanisms an operating system provides to allow the processes to manage
shared data.
12. Which are the important process scheduling queues maintained by the Operating System?
(1 Mark)
A. Job queue, Wait Queue, Device queues
B. Wait Queue, Device queues, Ready queue
C. Ready queue, Device queues, Job queue
D. Device queues, Wait Queue, Ready queue
13. Which of the following is not a way reimage helps in operating system recovery
(1 Mark)
om
A. Reimage repairs and replaces all critical Windows system files needed to run and
.c
et
Page 4 of 8
©2023 The Kenya National Examination Council
16. Which of these files contain a list of file names and their related information? (1 Mark)
A. Ordinary files
B. Special files
C. Directory files
D. System files
17. Which of the following are methods of accessing files? 1 Mark)
A. Sequential access, Direct/Random access, Indexed sequential access
B. Direct/Random access, Indexed Serial Access, Scheduled Access
C. Indexed sequential access, Indexed Serial Access, Unscheduled access
D. Indexed Serial Access, Direct/Random access, Scheduled Access
18. Which one of the following is a list of the three types of addresses used in a program before
and after memory is allocated? (1 Mark)
A. Symbolic addresses, Relative addresses, Page Address
B. Page Address, Physical addresses, Symbolic addresses
C. Symbolic addresses, Physical addresses, Relative addresses.
om
31. Explain four services related to I/O provided by operating system. (4 marks)
et
34. Differentiate between a shell and a kernel as used in operating Systems. (4 Marks)
Page 6 of 8
©2023 The Kenya National Examination Council
35. A Process Scheduler schedules different processes to be assigned to the CPU based on
particular scheduling algorithms. Five processes arrived for scheduling for execution by
the CPU as outlined in the table below.
Process Arrival Time (ms) Execution Time
(ms)
P0 0 4
P1 1 3
P2 2 7
P3 3 5
P4 4 2
a) Assuming that the process scheduler uses a First-Come First-Served (FCFS) Scheduling
algorithm,
om
b) Assuming that the CPU scheduling policy is Round Robin with time quantum = 3,
Calculate:
a) The exit time of each process. (3 Marks)
b) Average waiting time. (4 Marks)
c) Average turnaround time. (4 Marks)
c) By comparing the average waiting time of the two algorithms, identify which of the two
algorithms is more efficient. (2 Marks)
36. a) Compare the three types of schedulers used in handling process scheduling.
(12 Marks)
b) Explain four process states in a five state process model. (8 Marks)
om
.c
et
tv
sy
ea
Page 8 of 8