1.
Each process has unique
Answer: Option 'A'
fd table
2.
File descriptor table indexes which kernel structure?
Answer: Option 'A'
struct file
3.
What is the default number of files open per user process?
Answer: Option 'D'
3
4.
The file system information is stored in
Answer: Option 'B'
Super Block
5.
Switch table is used by
Answer: Option 'A'
device special file
6.
What is the use of fcntl function?
Answer: Option 'D'
all of these
7.
Which function can be used instead of the dup2 to duplicate the file descriptor?
Answer: Option 'D'
fcntl()
8.
printf() uses which system call
Answer: Option 'C'
write
9.
read() system call on success returns
Answer: Option 'C'
number of character
10.
Which system call is used to create a hard link?
Answer: Option 'B'
link