UNIX LINUX SYSTEM PROGRAMMING.pdf - Google Drive

2 downloads 78 Views 63KB Size Report
iii) Record locking mechanisms. iv) Message queues. ED – 777. Whoops! There was a problem loading this page. UNIX LINU
ED – 777

*ED777*

VI Semester B.E. (CSE/ISE) Degree Examination, Dec. 2014/Jan. 2015 (2 K11 Scheme) C164 : UNIX/LINUX SYSTEM PROGRAMMING Time : 3 Hours

Max. Marks :100

Instruction : Answer five full questions choosing atleast two from each Part. PART – A 1. a) Setting standards in the industry is essential, Why ? Discuss your views.

7

b) Explain different error status codes in UNIX and POSIX API’s.

7

c) Write a program to implement POSIX feature test macros.

6

2. a) Discuss file types in UNIX.

8

b) Explain, how does Kernel keeps tracks of all files which are open.

7

c) Outline the significance of U mask.

5

3. a) Explain directory permission setting mechanisms. b) Write a program to display mode number and name of the file and its size. 4. a) Explain process layout in memory. b) Mention the significance of setjmp and longjmp.

10 10 7 7

c) Write the prototypes of the following : i) exec ii) fork iii) pipe.

6

P.T.O.

ED – 777

*ED777* PART – B

5. a) Explain the significance of exit and wait.

6

b) How does unix maintain process accounting ?

7

c) Write a program to implement fork API.

7

6. a) Who is the mentor for parentless processes ? Give detailed flow. b) Derive the process of network logins. 7. a) What is a signal ? Explain its role in process management. b) Write a sample program to implement.

10 10 7 8

i) SGINT ii) SIG CHLD. c) Mention the application of pipe. 8. Write a note on :

5 (4×5=20)

i) Semaphore ii) Client server iii) Record locking mechanisms iv) Message queues.

–––––––––––––––––––––––––––

Suggest Documents