Home / CSE MCQs / OS MCQs :: Processes - Operating System

CSE MCQs :: OS MCQs

  1. What is a long-term scheduler ?
  2. A.
    It selects which process has to be brought into the ready queue
    B.
    It selects which process has to be executed next and allocates CPU
    C.
    It selects which process to remove from memory by swapping
    D.
    None of these

  3. If all processes I/O bound, the ready queue will almost always be ______, and the Short term Scheduler will have a ______ to do.
  4. A.
    full,little
    B.
    full,lot
    C.
    empty,little
    D.
    empty,lot

  5. What is a medium-term scheduler ?
  6. A.
    It selects which process has to be brought into the ready queue
    B.
    It selects which process has to be executed next and allocates CPU
    C.
    It selects which process to remove from memory by swapping
    D.
    None of these

  7. What is a short-term scheduler ?
  8. A.
    It selects which process has to be brought into the ready queue
    B.
    It selects which process has to be executed next and allocates CPU
    C.
    It selects which process to remove from memory by swapping
    D.
    None of these

  9. The primary distinction between the short term scheduler and the long term scheduler is :
  10. A.
    The length of their queues
    B.
    The type of processes they schedule
    C.
    The frequency of their execution
    D.
    None of these

  11. The only state transition that is initiated by the user process itself is :
  12. A.
    block
    B.
    wakeup
    C.
    dispatch
    D.
    None of these

  13. In a time-sharing operating system, when the time slot given to a process is completed, the process goes from the running state to the :
  14. A.
    Blocked state
    B.
    Ready state
    C.
    Suspended state
    D.
    Terminated state

  15. In a multi-programming environment :
  16. A.
    the processor executes more than one process at a time
    B.
    the programs are developed by more than one person
    C.
    more than one process resides in the memory
    D.
    a single user can execute many programs at the same time

  17. Suppose that a process is in "Blocked state waiting for some I/O service. When the service is completed, it goes to the :
  18. A.
    Running state
    B.
    Ready state
    C.
    Suspended state
    D.
    Terminated state

  19. The context of a process in the PCB of a process does not contain :
  20. A.
    the value of the CPU registers
    B.
    the process state
    C.
    memory-management information
    D.
    context switch time