Top 550+ Solved Operating System (OS) MCQ Questions Answer
Q. Which of the following is not TRUE?
a. processes may send each other signals
b. kernel may send signals internally
c. a field is updated in the signal table when the signal is sent
d. each signal is maintained by a single bit
Q. Signals of a given type
a. are queued
b. are all sent as one
c. cannot be queued
d. none of the mentioned
Q. The three ways in which a process responds to a signal are
a. ignoring the signal
b. handling the signal
c. performing some default action
d. all of the mentioned
Q. Signals are identified by
a. signal identifiers
b. signal handlers
c. signal actions
d. none of the mentioned
Q. When a process blocks the receipt of certain signals?
a. the signals are delivered
b. the signals are not delivered
c. the signals are received until they are unblocked
d. the signals are received by the process once they are delivered
Q. The maintains pending and blocked bit vectors in the context of each process.
a. cpu
b. memory
c. process
d. kernel
Q. In UNIX, the set of masked signals can be set or cleared using the function.
a. sigmask
b. sigmaskproc
c. sigprocmask
d. sigproc
Q. The usefulness of signals as a general inter process communication mechanism is limited because
a. they do not work between processes
b. they are user generated
c. they cannot carry information directly
d. none of the mentioned
Q. The usual effect of abnormal termination of a program is
a. core dump file generation
b. system crash
c. program switch
d. signal destruction
Q. In most cases, if a process is sent a signal while it is executing a system call
a. the system call will continue execution and the signal will be ignored completely
b. the system call is interrupted by the signal, and the signal handler comes in
c. the signal has no effect until the system call completes
d. none of the mentioned
Q. A process can never be sure that a signal it has sent
a. has which identifier
b. has not been lost
c. has been sent
d. all of the mentioned
Q. Thread pools are useful when
a. when we need to limit the number of threads running in the application at the same time
b. when we need to limit the number of threads running in the application as a whole
c. when we need to arrange the ordering of threads
d. none of the mentioned
Q. Instead of starting a new thread for every task to execute concurrently, the task can be passed to a
a. process
b. thread pool
c. thread queue
d. none of the mentioned
Q. Each connection arriving at multi threaded servers via network is generally
a. is directly put into the blocking queue
b. is wrapped as a task and passed on to a thread pool
c. is kept in a normal queue and then sent to the blocking queue from where it is dequeued
d. none of the mentioned