Deadlock and Context Switching Quiz
5 Questions
1 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 the minimum number of processes that may cause a deadlock?

  • 4 (correct)
  • 5
  • 10
  • 6
  • What is the quantum value 'q' that minimizes the overhead of context switching and ensures that each process gets guaranteed execution on the CPU at least once in every 't' seconds?

  • q = (t - ns)/(n-1) (correct)
  • q = (t - ns)/n
  • q = (t - ns)/(n*1)
  • q = (t - ns)/(n+1)
  • What is the completion time of process A under round robin scheduling with a time slice of one time unit?

  • 8
  • 9
  • 7
  • 10 (correct)
  • Paging suffers from which of the following?

    <p>External fragmentation</p> Signup and view all the answers

    In a system with 20 instances of resource 'Z' and each process needing 5 instances, what is the maximum number of processes that can run concurrently?

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

    More Like This

    Deadlock in Operating Systems
    5 questions

    Deadlock in Operating Systems

    RealizableSandDune688 avatar
    RealizableSandDune688
    Operating Systems Chapter 6 Flashcards
    14 questions
    Deadlock in Operating Systems
    13 questions
    Use Quizgecko on...
    Browser
    Browser