Top 550+ Solved Operating System (OS) MCQ Questions Answer

From 391 to 405 of 659

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

  • c. a field is updated in the signal table when the signal is sent

Q. Signals of a given type                          

a. are queued

b. are all sent as one

c. cannot be queued

d. none of the mentioned

  • b. are all sent as one

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

  • d. all of the mentioned

Q. Signals are identified by                          

a. signal identifiers

b. signal handlers

c. signal actions

d. none of the mentioned

  • a. signal identifiers

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

  • a. the signals are delivered

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

  • c. they cannot carry information directly

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

  • a. core dump file generation

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

  • c. the signal has no effect until the system call completes

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

  • b. has not been lost

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

  • a. when we need to limit the number of threads running in the application at the same time

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

  • b. is wrapped as a task and passed on to a thread pool
Subscribe Now

Get All Updates & News