You are on page 1of 3

UNIT-5 1.

Consider the following snapshot of a system process p0 p1 p2 p3 p4 0012 2000 0034 2345 0032 Allocation 0012 2150 6656 4356 0656 Max 2100 Available

Answer the following questions using the bankers algorithm. a) What is the content of the matrix used? b) Is the system in a safe state ? Why ? c)Is the system currently deadlock ? Why or why not? d) Which process,If any,or may become dead locked if this whole request is grant ed immediately ? 2.Breifly explain about deadlock prevention methods with examples each ? 3.Explain about the resource allocation denial with reference to safe state and un safe state ? 4. a) Explain the various password selection stratagies ? b) Discuss about UNIX passwords schema ? 5. Consider the following snap shot of a system ,Answer the following question u sing bankers algorithm? Process p0 p1 p2 p3 p4 0012 1000 1354 0632 0014 Allocation 0012 1750 2356 0652 0656 Max 1520 Available

a) What is the content of matrix need b) IS the system ina safe state c) If a request from process p1 arrives for(0,4,2,0) can the request be granted immediately ? UNIT-6 1. Write short note on

a) Sequential File b) Indexed File c) Indexed sequential File d)Direct file 2. a) What are pre-allocation,dynamic allocation,Partition Size with respect to secondary storage management ? b) Describe various file allocation methods breifly ? 3. Explain file allocation methods in UNIX ? 4.a) Why is the average access time to find a record in a file less for an index sequential file then for a sequential file.Explain ? b) What is the differnce between file and a database ? c) What are the typical operation that may be performed on a directory ? 5. Consider a hirearichal file system in which a free disk space is kept in a fr ee space list ? 1.Suppose the pointer to free space is lost.Can the system reconstruct the fre e space list. 2.Suggest a schema to ensure that the pointer is never lost as a result of a s ingle memory failure ? b) Why are physical contiguous file faster to read ? c) What is a FAT file system ? UNIT-7 1.(a) Discuss shortest process next scheduling with an example ? (b) Describe various short-term scheduling with an example? 2.What are the various RAID levels ? Explain this breifly ? 3.Describe the physical structure of Magnetic disks and Magnetic Tapes with mer its and de-merits ? 4.Describe the 5 popular disk scheduling algorithms ? UNIT-8 1) How security and protection services are managed by an Operating System ? Wha t is the main purpose of the System call and the System program ? 2 a) List out the various function of Operating system ? b) Explain how protection is different from security ? 3. How does the distinction between Monitor mode and user mode functions as a ru dimentary from a protection system ?

4.Write a short note on the following a) Viruses b) Worms c) Logic bomb d) Trap door

You might also like