This document contains 20 questions related to operating systems concepts like deadlock avoidance, deadlock prevention, banker's algorithm, safe states, page replacement, memory allocation algorithms, and paging. Specifically, it asks about differentiating deadlock avoidance from fragmentation, real-world examples of deadlock, calculating process needs, algorithms to avoid deadlock like banker's algorithm, defining safe states, local vs global page replacements, disk I/O metrics, the buddy system, time-stamping, differences between wait/signal for monitors vs semaphores, placement and replacement algorithms, differences between load-time and run-time dynamic linking, demand-paging vs pre-paging, and the relationship between paging and multiprogramming.
This document contains 20 questions related to operating systems concepts like deadlock avoidance, deadlock prevention, banker's algorithm, safe states, page replacement, memory allocation algorithms, and paging. Specifically, it asks about differentiating deadlock avoidance from fragmentation, real-world examples of deadlock, calculating process needs, algorithms to avoid deadlock like banker's algorithm, defining safe states, local vs global page replacements, disk I/O metrics, the buddy system, time-stamping, differences between wait/signal for monitors vs semaphores, placement and replacement algorithms, differences between load-time and run-time dynamic linking, demand-paging vs pre-paging, and the relationship between paging and multiprogramming.
This document contains 20 questions related to operating systems concepts like deadlock avoidance, deadlock prevention, banker's algorithm, safe states, page replacement, memory allocation algorithms, and paging. Specifically, it asks about differentiating deadlock avoidance from fragmentation, real-world examples of deadlock, calculating process needs, algorithms to avoid deadlock like banker's algorithm, defining safe states, local vs global page replacements, disk I/O metrics, the buddy system, time-stamping, differences between wait/signal for monitors vs semaphores, placement and replacement algorithms, differences between load-time and run-time dynamic linking, demand-paging vs pre-paging, and the relationship between paging and multiprogramming.
1. Differentiate deadlock avoidance and fragmentation 2.Tell me the real time example where this deadlock occurs? 3.How do we calculate the need for process? 4.What is the name of the algorithm to avoid deadlock? 5.Banker’s algorithm for resource allocation deals with (A)Deadlock prevention. (B)Deadlock avoidance. (C)Deadlock recovery. (D)Mutual exclusion 6. Each request requires that the system consider the _____________ to decide whether the current request can be satisfied or must wait to avoid a future possible deadlock. 7. Given a priori information about the ___________ number of resources of each type that maybe requested for each process, it is possible to construct an algorithm that ensures that the system will never enter a deadlock state. 8. A deadlock avoidance algorithm dynamically examines the __________ to ensure that a circular wait condition can never exist. 9. Define Safe State. 10. A system is in a safe state only if there exists a ______. VIVA QUESTIONS Module – 4: 1. What are local and global page replacements? 2. Define latency, transfer and seek time with respect to disk I/O. 3. Describe the Buddy system of memory allocation. 4. What is time-stamping? 5. How are the wait/signal operations for monitor different from those for semaphores? 6. In the context of memory management, what are placement and replacement algorithms? 7. In loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking? 8. What are demand-paging and pre-paging? 9. Paging a memory management function, while multiprogramming a processor management function, are the two interdependent? 10. What are pages?