~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signals are a form of interprocess communication. Which of the following statements does not describe a limitation of signals?
A-The number of user definable signals is limited.
B-They contain no data, only indication of an event.
C-On some systems, two identical signals arriving at the same time are not resolved correctly.
D-You cannot send a signal to more than one process simultaneously.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A daemon process can be described by all of these statements except which?
A-It is detached from a controlling terminal.
B-It responds to requests that arrive through some means of interprocess communication.
C-It must run with root permissions.
D-It is usually is in operation for an extended period of time.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When a process ends, what always happens?
A-Open file descriptors are closed.
B-Memory used by that process code segment goes on the free list.
C-Shared memory segments are removed.
D-The parent process is notified.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The classic use of semaphores is to coordinate the usage of a resource common to two or more processes. How else could you accomplish this?
A-use signals
B-use shared memory
C-use a daemon process
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/dev/null is bit bucket. What is returned when /dev/null is read?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In the X Window System, which of the following is true about the window manager?
A-It is a client application that maintains the "look and feel" of other client application's windows.
B-It is the same as the X server.
C-It must run on the same machine as the X server.
No comments:
Post a Comment