• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

OS Memory Management

Question 141

Consider an imaginary disk with 40 cylinders. A request come to read a block on cylinder 11. While the seek to cylinder 11 is in progress, new requests come in for cylinders 1, 36, 16, 34, 9 and 12 in that order. The number of arm motions using shortest seek first algorithm is
  • 111
  • 112
  • 60
  • 61

Question 142

An operating system has 13 tape drives. There are three processes P1, P2 & P3. Maximum requirement of P1 is 11 tape drives, P2 is 5 tape drives and P3 is 8 tape drives. Currently, P1 is allocated 6 tape drives, P2 is allocated 3 tape drives and P3 is allocated 2 tape drives. Which of the following sequences represent a safe state ?
  • P2 P1 P3
  • P2 P3 P1
  • P1 P2 P3
  • P1 P3 P2

Question 143

Which of the following versions of Windows O.S. contain built-in partition manager which allows us to shrink and expand pre-defined drives ?
  • Windows Vista
  • Windows 2000
  • Windows NT
  • Windows 98

Question 144

Processes P1 and P2 have a producer-consumer relationship, communicating by the use of a set of shared buffers.
P1: repeat
    Obtain an empty buffer
    Fill it
    Return a full buffer
    forever
P2: repeat
    Obtain a full buffer
    Empty it
    Return an empty buffer
    forever

Increasing the number of buffers is likely to do which of the following? I. Increase the rate at which requests are satisfied (throughput) II. Decrease the likelihood of deadlock III. Increase the ease of achieving a correct implementation
  • Ill only
  • II only
  • I only
  • II and III only

Question 145

Determine the number of page faults when references to pages occur in order - 1, 2, 4, 5, 2, 1, 2, 4. Assume that the main memory can accommodate 3 pages and the main memory already has the pages 1 and 2, with page 1 having brought earlier than page 2.(assume LRU algorithm is used)
  • 3
  • 4
  • 5
  • None of these

Question 146

In a paged memory, the page hit ratio is 0.40. The time required to access a page in secondary memory is equal to 120 ns. The time required to access a page in primary memory is 15 ns. The average time required to access a page is ________.
  • 105
  • 68
  • 75
  • 78

Question 147

Which of the following statements are true ? (a) External Fragmentation exists when there is enough total memory space to satisfy a request but the available space is contiguous. (b) Memory Fragmentation can be internal as well as external. (c) One solution to external Fragmentation is compaction. Code:
  • (a) and (b) only
  • (a) and (c) only
  • (b) and (c) only
  • (a), (b) and (c)

Question 148

Page information in memory is also called as Page Table. The essential contents in each entry of a page table is/are _________.
  • Page Access information
  • Virtual Page number
  • Page Frame number
  • Both virtual page number and Page Frame Number

Question 149

Consider a virtual page reference string 1, 2, 3, 2, 4, 2, 5, 2, 3, 4. Suppose LRU page replacement algorithm is implemented with 3 page frames in main memory. Then the number of page faults are_________.
  • 5
  • 7
  • 9
  • 10

Question 150

Consider allocation of memory to a new process. Assume that none of the existing holes in the memory will exactly fit the process’s memory requirement. Hence, a new hole of smaller size will be created if allocation is made in any of the existing holes. Which one of the following statement is TRUE ?
  • The hole created by first fit is always larger than the hole created by next fit.
  • The hole created by worst fit is always larger than the hole created by first fit.
  • The hole created by best fit is never larger than the hole created by first fit.
  • The hole created by next fit is never larger than the hole created by best fit.

There are 153 questions to complete.

Last Updated :
Take a part in the ongoing discussion