Cosc203 Exam 18 - 19
Cosc203 Exam 18 - 19
I. Operating System is the most fundamental piece of software running on a Computer System.
a. List and explain 3 components of the operating system (3 marks)
b. Explain 2 goals of the operating system. (2 marks)
c. Describe how the processor provide support for the operating system. (2 marks)
d. There are 3 major layers of any Operating System. List and write short but concise notes
on them. (3 marks)
2. The syster;t':. memory placement strategy detennines where in main memory to place incoming
programs ~nd data. A free memory list is used to track available memory. The following is a job
' requirement.azi d fre e memorv bl oc ks
list, memo:ry
JobNuoiber Memory Req!!ested Memorv Block Size
Job I 25kb 55kb '
Job2 45kb 40kb
Job 3 55kb 45kb
Job4 35kb 75kb
Job 5 60kb 70kb
a. Use the First fit to indicate which memory blocks are allocated to each of the five
arriving jobs. In a tabular fonn, indicate the Job number, Job size, status and Internal
Fragmentation in each. (3 m!lrks)
b. Use the Best fit to indicate which memory blocks are allocated to each of the five
arrivingjobs. In a tabular fonn, indicate the Memory Block Size, Job number, Job size,
. - ~------
fragmentation. (4 :marks)
-
-.::: __stat!)s_and lnte~a~ntation jn e!£h. Also, calculatt. the overall internal
,.__..,
,... ·
--. . / .
..,._,,_ -- - - - - - - .--,-_
c. Best-fit, first-fit, and worst.. fit all curb internal fragmentation . Discuss (3 marks)
I
4. State the rr/lajor difference between the following: Progni.m and Process, Distributed Operating
System an~ Networked Operating System, Clients and Servers, Batch processing operating system
and Timesliaring operating system, Internal fragmentation and External fragmentation (10 marks).
5. Describe tt,;e benefit and drawback each of the large and small partition size. (4 marks)
Define "Thrashing''. (2 marks)
State two a) roles performed by the memory manager. (2 marks)
State one drawback and one benefit of using dynamic linkers. (2 marks)