Professional Documents
Culture Documents
QP Unix
QP Unix
Time : 45 Min.
d) create()
Q5. Can the standard file descriptors be duplicated using the dup() system call ?
a) Yes b) No
c) Only by a process running in kernel mode
d) Only by the superuser
e) None of the above.
Ans : A
Q6. The state of a process are described by which of the following kernel data structures
1. Process Table
2. File descriptor Table
3. U Area
4. Buffer Cache
5. Per process Region Table
a) 1, 2
b)
c)
d)
e)
1, 3
1, 3, 5
All of the above
None of the above
Ans : b
#$ What are the ways of creating a process under Unix ?
a) exec() system call
b) Manually adding entries in the Process table
c) fork() system call
d) All of the above
e) None of the above
Ans : c
#$ Named pipes can be used for
1. Communication among processes that are related
2. Communication among processes that are not related
3. Communication among processes across a network
4.
a)
b)
c)
d)
e)
1, 3
2, 3
1, 2
All of the above
None of the above
Ans: b
#$ Process can go to sleep while :
a) Executing in kernel mode only
b) Executing in user mode only
c) Either in kernel mode or user mode
Ans : a