UNIX LINUX SYSTEM PROGRAMMING.pdf - Google Drive

1 downloads 82 Views 443KB Size Report
There was a problem loading this page. UNIX LINUX SYSTEM PROGRAMMING.pdf. UNIX LINUX SYSTEM PROGRAMMING.pdf. Open. Extra
’

JE – 827

*JE827*

VI Semester B.E. (CSE/ISE) Degree Examination, June/July 2013 (2K6 Scheme) CI 6.5 : UNIX / LINUX SYSTEM PROGRAMMING Time : 3 Hours

Max. Marks : 100

Instruction : Answer any five full questions choosing at least two from each Part. PART – A 1. a) Differentiate between ANSI C and C++.

5

b) Explain POSIX standards.

5

c) Explain the different error status codes in UNIX and POSIX APIs. 2. a) Outline the significance of Umask.

10 5

b) Explain the different file types in UNIX system. c) Explain the Kernel support for files with neat sketch. 3. a) Explain general file class.

5 10 5

b) Write the differences between Hardlink and Symbolic link.

5

c) Write the prototype for the following functions and explain them. i) open iv) unlink

ii) write

iii) fcntl

v) chmod

10

4. a) What is multitasking ? Discuss how processor co-operates in this environment.

10

b) Write the prototypes for the following system calls i) wait pid iv) fork

ii) exec v) system.

iii) pipe 10

P.T.O.

*JE827*

JE – 827 PART – B

5. a) How does process leads a group ? Explain init and its flow structure.

10

b) Write a program to implement fork API.

5

c) Explain the significance of exit and wait.

5

6. a) Explain the job control features in UNIX.

10

b) Derive the process of network logins.

6

c) What is orphan and zombie ?

4

7. a) Explain signal mechanisms with examples.

10

b) What are background processes ? Mention their characteristics.

6

c) Write a sample program to implement SIGCHLD.

4

8. Write a note on :

(5×4=20)

i) Message queue. ii) Record locking mechanisms. iii) sigsetjmp and siglongjmp functions. iv) Pipes. __________________

Suggest Documents