0% found this document useful (0 votes)
5 views

Assignment 2

Uploaded by

Nathanel Rupondo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Assignment 2

Uploaded by

Nathanel Rupondo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Operating Systems Assignment 2

1. Explain about advantages and disadvantages of paging? And Explain difference between
paging and segmentation? (9)
2. Explain the following wrt file
a) Concept of file
b) Access methods
c) File sharing (9)
3. Consider the following five processes, with the length of the CPU burst time given in
milliseconds.

process Burst Time


P1 15
P2 34
P3 8
P4 12
P5 17

Consider
i. the First comeFirst serve (FCFS),
ii. Non Preemptive Shortest Job First(SJF),
iii. Round Robin (RR)(quantum=10ms) scheduling algorithms.
Illustrate the scheduling using Gantt chart, calculating the waiting time ,turnaround time and
average waiting time for each algorithm (12)
4. Explain the single-level and two-level directory structure giving appropriate examples (10)
POINTS TO NOTE
*no plagiarism allowed
*type the assignments
*submit your work on google classroom on time
*late submission will result in deduction of your overall mark
*Assignment done individually
*Make sure your assignment has the following on the cover:
 Full Name
 Register Number
 Course code and title
 Assignment title (Assignment 1/2/3 e.t.c.)
 Degree Program
 Date of submission

Due Date 02/10/2023

You might also like