Professional Documents
Culture Documents
OS Special Assignment
OS Special Assignment
SPECIAL ASSIGNMENT
If there is tie within the processes, the tie is broken in the favour of the oldest process.
Draw the Gantt chart and find the average waiting time, response time and turnaround time
for the algorithms. Comment on your result. Which one is better and why? (CO-2)
10. Discuss the performance criteria for C.P.U Scheduling. (CO-2)
11. Explain the Peterson solution to critical section? (CO-3)
12. Explain dining philosopher problem and its solution using semaphores. (CO-3)
13. Explain sleeping barber problem with its solution. (CO-3)
14. Explain in detail the inter-process communication? (CO-3)
15. Write and explain Banker's algorithm for avoidance of deadlock. (CO-3)
16. Explain how logical address is translated to physical address in such a scheme. (CO-4)
17. Consider a logical address space of eight pages of 1024 words, each mapped onto a
physical memory of 32 frames then: (a) Calculate the no. of bits in logical address? (b)
Calculate the no. of bits in physical address? (CO-4)
18. Differentiate between internal and external fragmentation. (CO-4)
19. Explain the reason why Page sizes are kept in powers of 2? (CO-4)
20. In a paged segmented system, a virtual address consists of 32 bits of which 12 bits are for
displacement, 11 bits are segment number and 9 bits are page number. Calculate the
following: (a) Page size (b) Max Segment size (c) Max number of Pages (d) Max number
of segments. (CO-4)
21. Suppose that a disk has 500 cylinders. The drive is currently serving a request at cylinder
125 and the previous request was at cylinder 100. The queue of pending request in FIFO
order is 80, 147, 13, 177, 48, 409,22, 175,301.
Calculate the total distance that the disk arm moves for the following Disk scheduling
algorithm: (a) SSTF (b) LOOK (c) C-SCAN? (CO-5)
22. Explain different levels of RAID? (CO-5)
23. Explain various file attributes? (CO-5)
24. Explain various Directory Structures? (CO-5)
25. Compare indexed file allocation and linked file allocation? (CO-5)