QuestionbankOS
QuestionbankOS
QuestionbankOS
a) Batch
b) Multiprogrammed
c) Time sharing
d) Parallel systems
e) Distributed systems
f) Personal-computer systems.
Q6. What is Belady’s anomaly? In which of the following page replacement policies,
FIFO
LRU
Optimal.
Find the page faults using FIFO, LRU and optimal page replacement algorithms.
Q9. Describe paging and segmentation in detail with the help of suitable example(s).
Q15. Consider a logical address space of 64 pages of 1024 words each, mapped onto a physical
memory of 32 frames.
Q16. What is the cause of thrashing? How does the system detect Thrashing, what can the system do
to eliminate this problem?
Q17. Compare best fit, first fit and worst fit techniques with example.
Unit II
(b) Semaphores
Q9. Explain:
Q12. Is there any kind of problem faced due to usage of Semaphore ? Explain
Q13. Explain the difference between short term, medium term and long term scheduling?
Unit III
Q1.What is the reusable resource?
Q2. What is a deadlock? Which are the conditions required for deadlock to be possible?
Q4. Explain the mathematical format to find out the occurrence of a deadlock?
Q5. What is a circular wait condition? How it can be prevented?
Q7. A problem encountered in multitasking when a process is perpetually denied necessary resources is
called?
Q8. A system has 12 magnetic tape drives and 3 processes : P0, P1, and P2. Process P0 requires
10 tape drives, P1 requires 4 and P2 requires 9 tape drives.
Process
P0
P1
P2
Q9. When the wait for graph deadlock detection algorithm is applicable?
Q10. A computer system has 6 tape drives, with ‘n’ processes competing for them. Each process
may need 3 tape drives. What will be the maximum value of ‘n’ for which the system is
guaranteed to be deadlock free ?
Q13.What must be done to ensure that the hold and wait condition never occurs in the system?
Unit IV
Q1. What is a file? Explain its architecture?
Q6. What are the different types of files? Explain their structure.
Q10. What is an acyclic graph directory? How does it vary from a tree structure directory?