Page Replacement Algorithms and Virtual Memory Concepts Quiz
17 Questions
2 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Which of the following is NOT a valid deadlock prevention scheme?

  • Number the resources uniquely and never request a lower numbered resource than the last one requested
  • Request and all required resources be allocated before execution (correct)
  • Never request a resource after releasing any resource
  • Release all resources before requesting a new resource
  • Which of the following requires a device driver?

  • Cache
  • Main memory
  • Register
  • Disk (correct)
  • Which of the following is a major part of time taken when accessing data on the disk?

  • Rotational latency
  • Settle time
  • Waiting time
  • Seek time (correct)
  • In relation to threads being defined as 'light weight processes', which of the following is TRUE?

    <p>On per-thread basis, the OS does not maintain virtual memory state</p> Signup and view all the answers

    Which of the following statements are true?

    <p>Preemptive scheduling may cause starvation</p> Signup and view all the answers

    Which page replacement algorithm suffers from Belady’s anomaly?

    <p>Both LRU and FIFO</p> Signup and view all the answers

    In the context of virtual memory, what is thrashing?

    <p>Processes on system frequently access pages not in memory</p> Signup and view all the answers

    What triggers a page fault?

    <p>When a requested page is not in memory</p> Signup and view all the answers

    What is the basis of CPU scheduling?

    <p>Multiprogramming operating systems</p> Signup and view all the answers

    How is virtual memory defined?

    <p>Illusion of large main memory</p> Signup and view all the answers

    If a computer system supports 32-bit virtual addresses and physical addresses, what can be true if the designers decide to eliminate virtual memory?

    <p>The processor cache organization can be made more efficient now</p> Signup and view all the answers

    What is the main function of the kernel in an operating system?

    <p>To constitute the central core of the operating system</p> Signup and view all the answers

    When a process is in a 'Blocked' state waiting for some I/O service, where does it go when the service is completed?

    <p>Ready state</p> Signup and view all the answers

    What is the term used for the interval from the time of submission of a process to the time of completion?

    <p>Turnaround time</p> Signup and view all the answers

    If the page size in a memory management system increases, what happens to the internal fragmentation?

    <p>Decreases</p> Signup and view all the answers

    Which type of operating system guarantees that critical tasks must be completed within a specific timeframe?

    <p>Hard Real Time operating system</p> Signup and view all the answers

    In which type of operating system do users not interact with the computer directly?

    <p>Batch operating system</p> Signup and view all the answers

    More Like This

    Replacement Policy Algorithms Quiz
    35 questions
    Virtual Memory Quiz - Chapters 20-22
    27 questions
    Computer Memory Management Quiz
    15 questions
    Use Quizgecko on...
    Browser
    Browser