LOYOLA COLLEGE (AUTONOMOUS), CHENNAI – 600 034

advertisement
LOYOLA COLLEGE (AUTONOMOUS), CHENNAI – 600 034
M.C.A. DEGREE EXAMINATION – COMPUTER APPLICATIONS
FOURTH SEMESTER – April 2009
RI 26
CA 4800 - UNIX PROGRAMMING
Date & Time: 18/04/2009 / 9:00 - 12:00
Dept. No.
Max. : 100 Marks
PART-A
Answer ALL Questions:
10*2=20
1. Define Shell.
2. What is file name ?
3. How relative path differ from absolute path ?
4. State the usage of chmod function.
5. When does ready state becomes a wait state in a process request?
6. What is a Message Queue ?
7. What is read write lock?
8. What is meant by connection less socket ?
9. What is the use of TCP .
10.State any two functions of Network Protocol.
PART-B
Answer ALL Questions:
11. a.Write about UNIX file system.
5*8=40
OR
b. Explain the file descriptor and its symbolic constants description.
12. a.Write about open function optional constants
OR
b. List and state the properties of 7 file types
13. a. State the syntax and functions of jmp functions
OR
b. Explain the Full Duplex communication
14. a. Write about Record lock process
OR
b. Write about I/O Multiplexing
15. a.Write about Debugging process in a Client Server Environment.
OR
b. Explain -How to trace a route in network .
PART-C
Answer any TWO Questions:
(Q.No 16 is compulsory)
2*20=40
16. a. Explain in details the Architecture of UNIX operating System with a diagram.
( 10 marks )
b. What is the impact of temporary files in the process execution of I/O functions
with suitable example.
(10 marks )
17.
a. Explain the sharing of open files between parent and child after fork function
with diagram.
(10 Marks )
b. State the purpose of following signals
(10 marks)
i. SIGABRT ii. SIGALRM iii. SIGCANCEL iv. SIGKILL v.SIGQUIT
18. a. Write about various component structure in socket description.
b. State the procedure for file transfer process in a network
***********
(10 Marks)
(10 Marks)
Download