MCQOPTIONS
Saved Bookmarks
This section includes 5 Mcqs, each offering curated multiple-choice questions to sharpen your Unix knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
For creating and removing directories, which of the following system calls are used? |
| A. | mkdir |
| B. | rmdir |
| C. | chdir |
| D. | mkdir and rmdir |
| Answer» E. | |
| 2. |
Directories can also be opened, read and written in the same way as regular files. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 3. |
Which of the following system calls performs the action of cd command? |
| A. | chdir |
| B. | fchdir |
| C. | mkdir |
| D. | chdir and fchdir |
| Answer» E. | |
| 4. |
The vnode table is also called _____ |
| A. | inode table |
| B. | file table |
| C. | vtable |
| D. | vttable |
| Answer» B. file table | |
| 5. |
The file table contains _________ |
| A. | mode of opening |
| B. | status flags |
| C. | offset pointer, reference count |
| D. | mode of opening, status flags, offset printer and reference count |
| Answer» E. | |