Operating System Cncerns
q1) Five jobs are waiting for be run. There expected runtimes are 9, 6, 3, 5, X. In what order should they be run to minimize average response time?
q2) Measurements of a certain systems have shown that average response process runs for time T, before blocking on I/O. Process switch requires time S. For round robin scheduling with quantum Q, give formula for the CPU efficiency if
1> Q = �nfinity
2> Q > T
3> S < Q <T
4> Q = S
5> Q --(nearly)--->0
q3) How does the operating system distinguish whether the path name for a file is relative or absolute to the working directory?
q4) What is the difference beetween a block special file and character special file?
q5) Why do alrge file-system blocks results in better file system access time ? Why do large blocks result in less efficient use of disk space ?
q6) Why is it not possible to enforce memory protection at compile time?