1. An application loads 100 libraries at start up. Loading each library requires exactly one disk access. The seek time of the disk to a random location is given as 10ms. Rotational speed of the disk is 6000 rpm. If all the libraries are loaded from random locations on the disk, how long does it takes to load all the libraries.
Consider a disk with the following specification:
Number of surfaces: 32
Number of tracks/surfaces: 512
Number of sectors/tracks: 1K
Sector size :4KN
Disk rpm: 3600
The effective data rate is ______MB/sec
3. Consider a Disk having a program of size 256 KB. Program resides on disk in the form of pages of 4KB eack. The disk average seek time is 30ms and rotation time is 20ms. Track size is 128KB, 50% of the pages of the program are contiguous and the remaining are distributed randomly around the disk. The time for loading this program in seconds is _____
4. A privileged instruction may be executed only when the hardware is in kernel mode. Which of the following is least likely to be a privileged instruction?
a) instruction changing the PC
b) Instruction sending output to a printer
c) Instruction modifying memory management register.
d)Instruction that creates a child process.
Please explain the solutions.