Computer Memory and Addressing Quiz
12 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

What does a thread calling notify() in Java synchronisation do?

  • T is moved from the wait set to the entry set (correct)
  • Start a new thread T
  • An arbitrary thread T is selected from the wait set
  • Set the state of T from blocked to runnable
  • What is a Mutex in the context of synchronization?

  • Type of kernel
  • CPU scheduler algorithm
  • Mutual exclusion lock (correct)
  • What is the purpose of a Semaphore in the OS context?

  • Critical section code for one thread access only
  • Traffic light system
  • An integer variable used for process synchronization (correct)
  • When is preemptive scheduling used in managing processes?

    <p>Switches from running state to ready state or from waiting state to ready state</p> Signup and view all the answers

    What is true about Round Robin (RR) scheduling?

    <p>Each process gets the same amount of CPU time</p> Signup and view all the answers

    How are signals used in UNIX/Linux systems?

    <p>To notify a process of a particular event occurrence</p> Signup and view all the answers

    What is the function of Memory Management Unit (MMU)?

    <p>Hardware device that at run time maps virtual to physical address</p> Signup and view all the answers

    What does the concept of Virtual Memory involve?

    <p>Separation of user logical memory from physical memory</p> Signup and view all the answers

    What is the purpose of Copy-on-Write (COW)?

    <p>Both parent and child processes to initially share the same pages in memory</p> Signup and view all the answers

    What does Mutual Exclusion imply in the context of resource usage?

    <p>Only one process at a time can use a resource</p> Signup and view all the answers

    What does it mean if a system is in a safe state?

    <p>No deadlocks will occur</p> Signup and view all the answers

    In the readers-writers problem, what are the specific roles of readers and writers?

    <p>Readers can only read the dataset and writers can only write.</p> Signup and view all the answers

    More Like This

    Memory Addressing
    36 questions

    Memory Addressing

    MarvelousMarsh avatar
    MarvelousMarsh
    PhysP: Physical Pages and Memory Addressing
    12 questions
    Use Quizgecko on...
    Browser
    Browser