3 B.TEch CS3501 Operating System Unit 3
3 B.TEch CS3501 Operating System Unit 3
3 B.TEch CS3501 Operating System Unit 3
Long Answers:
(11) Explain about given memory management techniques. (i) Partitioned allocation
(ii) Paging and translation look-aside buffer.
(12) Elaborate about the free space management on I/O buffering and blocking.
(13) When page faults will occur? Describe the actions taken by operating system
during page fault.
(14) Explain about the difference between internal fragmentation and external
fragmentation.
(15) Explain why sharing a re-entrant module is easier when segmentation is used
than when pure paging is used with example.
(16) Discuss situation under which the most frequently used page replacement
algorithm generates fewer page faults than the least frequently used page
replacement algorithm. Also discuss under which circumstances the opposite
holds.
(17) Most systems allow programs to allocate more memory to its address space
during execution. Data allocated in the heap segments of programs is an
example of such allocated memory. What is required to support dynamic
memory allocation in the following schemes? i) Contiguous memory allocation
ii)Pure segmentation iii) Pure paging
(18) Explain segmentation with paging with the help of a diagram.
(19) Assume that there are 3 page frames which are initially empty. If the page
reference string is 1, 2, 3, 4, 2, 1, 5, 3, 2, 4, 6, the number of page faults using
LRU and optimal replacement.
(20) Consider a page reference string 7 0 1 2 0 3 0 4 2 3 0 3 1 2 0 1 7 of frame size
3.Find the number of page faults in LRU and optimal page replacement
algorithm. Also calculate the hit ratio and miss ratio.
(21) Consider a reference string: 4, 7, 6, 1, 7, 6, 1, 2, 7, 2. the number of frames in
the memory is 3. Find out the number of page faults in Optimal Page
Replacement Algorithm .
(22) Differentiate local and global page replacement algorithm.
(23) Explain the basic concepts of segmentation.
(24) Consider the following page reference string: 1, 2, 3, 4, 2, 1, 5, C212.3 BTL-3
6, 2, 1, 2, 3, 7, 6, 3, 2, 1, 2, 3, 6. Identify the no. of page faults would occur for
the following replacement algorithms, assuming one, two, three, four, five, six,
or seven frames? Remember all frames are initially empty, so your first unique
pages will all cost one fault each. a. LRU replacement b. FIFO replacement c.
Optimal replacement
(25) List the need of inverted page table.