Top 550+ Solved Operating System (OS) MCQ Questions Answer
Q. A process stack does not contain
a. Function parameters
b. Local variables
c. Return addresses
d. PID of child process
Q. Which system call returns the process identifier of a terminated child?
a. wait
b. exit
c. fork
d. get
Q. The address of the next instruction to be executed by the current process is provided by the
a. CPU registers
b. Program counter
c. Process stack
d. Pipe
Q. A Process Control Block(PCB) does not contain which of the following :
a. Code
b. Stack
c. Bootstrap program
d. Data
Q. The number of processes completed per unit time is known as __________
a. Output
b. Throughput
c. Efficiency
d. Capacity
Q. The state of a process is defined by:
a. the final activity of the process
b. the activity just executed by the process
c. the activity to next be executed by the process
d. the current activity of the process
Q. The Process Control Block is:
a. Process type variable
b. Data Structure
c. A secondary storage section
d. A Block in memory
Q. The entry of all the PCBs of the current processes is in:
a. Process Register
b. Program Counter
c. Process Table
d. Process Unit
Q. The degree of multiprogramming is:
a. the number of processes executed per unit time
b. the number of processes in the ready queue
c. the number of processes in the I/O queue
d. the number of processes in memory
Q. A single thread of control allows the process to perform:
a. only one task at a time
b. multiple tasks at a time
c. only two tasks at a time
d. all of the mentioned
Q. The objective of multiprogramming is to :
a. Have some process running at all times
b. Have multiple programs waiting in a queue ready to run
c. To minimize CPU utilization
d. None of the mentioned
Q. Which of the following condition is required for deadlock to be possible?
a. mutual exclusion
b. a process may hold allocated resources while awaiting assignment of other resources
c. no resource can be forcibly removed from a process holding it
d. all of the mentioned
Q. A system is in the safe state if
a. the system can allocate resources to each process in some order and still avoid a deadlock
b. there exist a safe sequence
c. all of the mentioned
d. none of the mentioned
Q. The circular wait condition can be prevented by
a. defining a linear ordering of resource types
b. using thread
c. using pipes
d. all of the mentioned