

MCQOPTIONS
Saved Bookmarks
This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Unix knowledge and support exam preparation. Choose a topic below to get started.
1. |
Which of the following signals are generated from the hardware? |
A. | SIGFPE |
B. | SIGILL |
C. | SIGSEGV |
D. | SIGPE, SIGILL, SIGSEGV |
Answer» E. | |
2. |
There are _____ signals that are generated from the keyboard. |
A. | 2 |
B. | 3 |
C. | 1 |
D. | 5 |
Answer» C. 1 | |
3. |
The sources from where the signals can be generated are: |
A. | keyboard |
B. | hardware |
C. | a C program |
D. | keyboard, hardware, a C program |
Answer» E. | |
4. |
The action that a signal takes on receipt of a signal is called ____ |
A. | reposition |
B. | disposition |
C. | composition |
D. | event |
Answer» C. composition | |
5. |
We can use pipe with fork system call. |
A. | True |
B. | False |
Answer» B. False | |
6. |
Which of the following system call is used for inter-process communication? |
A. | fork |
B. | pipe |
C. | fcntl |
D. | exec |
Answer» C. fcntl | |
7. |
Which of the following system call is preferred over dup and dup2 for replicating file descriptor? |
A. | dup3 |
B. | fcn |
C. | fcntl |
D. | exec |
Answer» D. exec | |
8. |
We can also duplicate the file descriptor using ___ |
A. | dup1 |
B. | dup2 |
C. | exevr |
D. | exec |
Answer» C. exevr | |
9. |
Which of the following system call is used for duplicating file descriptor? |
A. | dup |
B. | decr |
C. | exec |
D. | execv |
Answer» B. decr | |
10. |
____ exec is responsible for executing programs on a UNIX system. |
A. | True |
B. | False |
Answer» B. False | |