Operating Systems
Operating Systems
Page 1 of 2
4. a) What is contiguous memory allocation? Given memory partition of 7
11K, 14K, 20K,10K, 17K,19K,12K and 30K in order. How would
processes of 22K, 12K, 9K, 2k and 17K in order be placed for each.
i. first fit
ii. best fit
iii. worst fit
b) Consider the reference page string: 6,1,2,3,4,1,2,4,2,1,0,3,4,2,0. 8
Calculate page hits, page faults, hit ratio, fault ratio assuming
3 frames for the following page replacement algorithms.
i. Optimal
ii. FIFO
iii. MRU
5. a) Suppose a disk drive has 200 cylinders. The current position of the 8
R/W head is at cylinder 50 and the previous request was at cylinder
45. The sequence of pending requests is 40,82, 140, 46, 88, 170, 197,
135. Starting from current position what is the total number of track
movements (distance) for the following disk scheduling algorithms.
i. SSTF ii. LOOK iii. C-SCAN iv) FCFS
b) Explain the different attributes of file. Explain the file allocation 7
techniques.
6. a) What is distributed operating system? Explain Remote Procedure 8
Call (RPC) with appropriate figure and example.
b) Describe the Amoeba System Architecture. How process 7
management is done in Amoeba?
7. Write short notes on: (Any two) 2×5
a) Context Switching
b) PCB
c) File Systems and Disk management in LINUX
Page 2 of 2