Page Replacement Algorithms and Virtual Memory Concepts Quiz

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

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 (B)</p> Signup and view all the answers

Which of the following statements are true?

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

Which page replacement algorithm suffers from Belady’s anomaly?

<p>Both LRU and FIFO (A)</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 (D)</p> Signup and view all the answers

What triggers a page fault?

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

What is the basis of CPU scheduling?

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

How is virtual memory defined?

<p>Illusion of large main memory (C)</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 (D)</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 (A)</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 (B)</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 (B)</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 (C)</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 (A)</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 (A)</p> Signup and view all the answers

Flashcards are hidden until you start studying

More Like This

Operating Systems Chapter on Paging
42 questions
Virtual Memory Quiz - Chapters 20-22
27 questions
Computer Memory Management Quiz
15 questions
Page Replacement Algorithms Quiz
50 questions
Use Quizgecko on...
Browser
Browser