Sail E0 Webinar

MCQs

Total Questions : 34 | Page 1 of 4 pages
Question 1. 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 :
  1.    Blocked state
  2.    Ready state
  3.    Suspended state
  4.    Terminated state
 Discuss Question
Answer: Option B. -> Ready state


None.


Question 2. The only state transition that is initiated by the user process itself is :
  1.    block
  2.    wakeup
  3.    dispatch
  4.    None of these
 Discuss Question
Answer: Option A. -> block


None.


Question 3. Suppose that a process is in "Blocked state waiting for some I/O service. When the service is completed, it goes to the :
  1.    Running state
  2.    Ready state
  3.    Suspended state
  4.    Terminated state
 Discuss Question
Answer: Option B. -> Ready state


None.


Question 4. The context of a process in the PCB of a process does not contain :
  1.    the value of the CPU registers
  2.    the process state
  3.    memory-management information
  4.    context switch time
 Discuss Question
Answer: Option D. -> context switch time


None.


Question 5. In a multi-programming environment :
  1.    the processor executes more than one process at a time
  2.    the programs are developed by more than one person
  3.    more than one process resides in the memory
  4.    a single user can execute many programs at the same time
 Discuss Question
Answer: Option C. -> more than one process resides in the memory


None.


Question 6. The systems which allows only one process execution at a time, are called:
  1.    uniprogramming systems
  2.    uniprocessing systems
  3.    unitasking systems
  4.    none of the mentioned
 Discuss Question
Answer: Option A. -> uniprogramming systems


Those systems which allows more than one process execution at a time, are called multiprogramming systems. Uniprocessing means only one processor.


Question 7. In operating system, each process has its own:
  1.    address space and global variables
  2.    open files
  3.    pending alarms, signals and signal handlers
  4.    all of the mentioned
 Discuss Question
Answer: Option D. -> all of the mentioned


None.


Question 8. In Unix, Which system call creates the new process?
  1.    fork
  2.    create
  3.    new
  4.    none of the mentioned
 Discuss Question
Answer: Option A. -> fork


None.


Question 9. A process can be terminated due to:
  1.    normal exit
  2.    fatal error
  3.    killed by another process
  4.    all of the mentioned
 Discuss Question
Answer: Option D. -> all of the mentioned


None.


Question 10. What is the ready state of a process?
  1.    when process is scheduled to run after some execution
  2.    when process is unable to run until some task has been completed
  3.    when process is using the CPU
  4.    none of the mentioned
 Discuss Question
Answer: Option A. -> when process is scheduled to run after some execution


When process is unable to run until some task has been completed, the process is in blocked state and if process is using the CPU, it is in running state.


Latest Videos

Latest Test Papers