Autonomous Institution, Approved by AICTE and Permanently Affiliated To Anna University, Chennai
Autonomous Institution, Approved by AICTE and Permanently Affiliated To Anna University, Chennai
Reg. No:
(R)
1.
2.
b) getpid()
b) Super Block
d) parentid()
c) Inode Table
d) Data Block
d) kernel routine
b) open()
c) stat()
d) fcntl()
c) 1
d) number of character
7.
c) getppid()
Which function can be used instead of the dup2 to duplicate the file descriptor?
a) read()
6.
d) 1024
namei() is
a) ANSI C library function
5.
c) 256
4.
b) 1
3.
(10 x 1 = 10 Marks)
b) -1
b) *
c) ?
d) |
-1-
8.
9.
b) TSTP
d) INT
10.
c) TERM
b) each thread
c) each instruction
d) each address
PART B
11.
12.
13.
14.
15.
PART C
16.
a)
i)
(5 x 2 = 10 Marks)
(5 x 16 = 80 Marks)
(8)
(8)
(OR)
b)
Illustrate the buffer allocation and releasing algorithms with two buffer retrieval
(16)
scenarios.
17.
a)
i)
ii)
What is disk inode and incore inode? Discuss about the fields present in disk
(10)
inode.
(6)
b)
Write and express the algorithms for assigning and releasing an inode.
-2-
(16)
Compulsory question:
18.
Illustrate the algorithm for opening and closing a file and discuss the data structure
(16)
involved.
19.
a)
i)
(8)
ii)
(8)
(OR)
20.
b)
(16)
a)
Define page fault? Give the types of page fault handler and Explain anyone with an
(16)
algorithm.
(OR)
b)
i)
(8)
ii)
(8)
*****
-3-