Operating Systems MCQs Set-2

PropellerAds
  1. 1. What is interprocess communication?
    • communication within the process
    • communication between two process
    • communication between two threads of same process
    • none of the mentioned
  2. 2. A set of processes is deadlock if
    • each process is blocked and will remain so forever
    • each process is terminated
    • all processes are trying to kill each other
    • none of the mentioned
  3. 3. A process stack does not contain
    • function parameters
    • local variables
    • return addresses
    • PID of child process
  4. 4. Which system call returns the process identifier of a terminated child?
    • wait
    • exit
    • fork
    • get
  5. 5. The address of the next instruction to be executed by the current process is provided by the
    • CPU registers
    • program counter
    • process stack
    • pipe
  6. 6. When the process issues an I/O request :
    • It is placed in an I/O queue
    • It is placed in a waiting queue
    • It is placed in the ready queue
    • It is placed in the Job queue
  7. 7. What is a long-term scheduler ?
    • It selects which process has to be brought into the ready queue
    • It selects which process has to be executed next and allocates CPU
    • It selects which process to remove from memory by swapping
    • None of these
  8. 8. What is a medium-term scheduler ?
    • It selects which process has to be brought into the ready queue
    • It selects which process has to be executed next and allocates CPU
    • It selects which process to remove from memory by swapping
    • None of these
  9. 9. What is a short-term scheduler ?
    • It selects which process has to be brought into the ready queue
    • It selects which process has to be executed next and allocates CPU
    • It selects which process to remove from memory by swapping
    • None of these
  10. 10. The primary distinction between the short term scheduler and the long term scheduler is :
    • The length of their queues
    • The type of processes they schedule
    • The frequency of their execution
    • None of these

Practice Now – Operating System Online Tests