LOYOLA COLLEGE (AUTONOMOUS), CHENNAI – 600 034

advertisement
LOYOLA COLLEGE (AUTONOMOUS), CHENNAI – 600 034
M.C.A. DEGREE EXAMINATION - COMPUTER APPLICATIONS
FOURTH SEMESTER – APRIL 2008
DC 25
CA 4800 - UNIX PROGRAMMING
Date : 16/04/2008
Time : 9:00 - 12:00
Dept. No.
Max. : 100 Marks
PART–A
Answer all questions:
10 x 2 = 20
1. What is system call?
2. List three primary functions for process control.
3. Where sticky bit is used?
4. What is the purpose of seteuid?
5. Define thread.
6. How to protect a file.
7. Which are the components for a socket?
8. Define daemon process.
9. What is the use of ack function in client server environment?
10. What is the difference between path and route.
PART-B
Answer all questions:
5 x 8 = 40
11.a. Explain the limits of POSIX.
(OR)
b.Write about lseek function association with offset value.
12.a. State the uniqueness and difference between dup and dup2.
(OR)
b. Specify nine file access permission bits from <SYS/stat.h>.
13.a. Explain the function of process synchronization.
(OR)
b. How to lock the records? How record locking process creates an impact in file
sharing?.
14.a. Write about netent and addrinfo structure.
(OR)
b. State the conditions for out - of-band data.
15.a. Explain the concepts of trace route.
(OR)
b. State the factors which determines the efficiency of file transfer application on
client server environment.
PART -C
Answer any TWO questions ( Q.No 16 is compulsory )
2 x 20 = 40
16.a.Write the structure of dirent and explain its variables.
b. List and explain eight ways to terminate a process.
17.a. How to implement a command line argument function.
b. Write about multiprocessing implementation using pipes.
18.a.State the role of transport layer. How sockets are transferred in the network.
b. Explain the implementation of. UDP echo client server.
********
Download