Operating Systems MCQs Set-10

  1. 1. Bringing a page into memory only when it is needed,this mechanism is called
    • Deadlock
    • Page Fault
    • Dormant Paging
    • Demand Paging
  2. 2. What do you mean by Memory Compaction?
    • Combine multiple equal memory holes into one big hole
    • Combine multiple small memory holes into one big hole
    • Divide big memory hole into small holes
    • Divide memory hole by 2
  3. 3. Copying a process from memory to disk to allow space for other processes is Called
    • Swapping
    • Deadlock
    • Demand Paging
    • Page Fault
  4. 4. Page stealing
    • Is a sign of an efficient system
    • Is taking page frame from other working sets
    • Should be the turning goal
    • Is taking layer disk space for page in page out
  5. 5. A spooler is a
    • Location in memory that maintains the contents of documents until it prints out
    • Queue of print job that are waiting to print
    • Program that coordinates the print job that are waiting to process
    • Message sent from the printer to the operating system when a print job is completed
  6. 6. What is the method of handling deadlocks?
    • Use a protocol to ensure that the system will never enter a deadlock state.
    • Allow the system to enter the deadlock state and then recover.
    • Pretend that deadlocks never occur in the system
    • All of the Above
  7. 7. The Banker’s algorithm is used
    • to rectify deadlock
    •  to detect deadlock
    • to prevent deadlock
    • to slove deadlock
  8. 8. All of the following are TRUE regarding virtual memory EXCEPT
    • Any amount of RAM can be allocated to virtual memory
    • The setting for the amount of hard disk drive space to allocate virtual memory can be manually change
    • This temporary storage is called the swap file or page file
    • Virtual memory is the physical space of the hard drive
  9. 9. What is dispatch latency?
    • The time taken by the dispatcher to stop one process and start another
    • The time taken by the processor to write a file into disk
    • The whole time taken by all processor
    • None of Above
  10. 10. A page fault occurs when
    • the Deadlock happens
    • the Segmentation starts
    • the page is found in the memory
    • the page is not found in the memory

Practice Now – Operating System Online Tests