My Other Blogs

My Other Blogs

JOKES PARADISE

Thursday, November 18, 2010

Unix and Network Programming Nov/Dec 2009

M.C.A. Degree Examination,NOV/DEC 2009
                   Fourth Semester
MC 1751 - UNIX AND NETWORK PROGRAMMING
                (Regulation-2005)

ANSWER ALL QUESTIONS
PART - A

1. How is a system call different from library function ?
2. What happens when the sticky bit of executable program is set ?
3. What are the fields present in the environment list ?
4. How can a process obtain its saved set-user-ID?
5. What are the limitations of pipes?
6. What are the steps involved in obtaining a shared resource by a process?
7. What all packets are received by a raw socket waiting at protocol 17 ?
8. What is the use of htonl() ? Give an example ?
9. Under what condition ICMP TIME EXCEEDED message is raised ?
10. What is the difference between well-known port number and ephemeral port number ?

PART - B

11.(a).(i). What is the goal of buffering provided by standard I/O library ? Explain the various types of buffering ?(3+6)
11.(a).(ii). What are the various types of files supported by UNIX ? Explain. (7)
(Or)
11.(b).(i). Explain the various data structures maintained by the unix system with regard to file sharing.(9)
11.(b).(ii). How is remove() different from unlink() ? Give the Syntax to both functions. (4+3)

12.(a). Explain with a neat diagram how a 'C' program is started and terminated with necessary function calls required. (16)
(Or)
12.(b). Write a note on the following with examples.
   (i). Unreliable signals.
   (ii). Reentrant functions
   (iii). System() functions

13.(a).(i). List the advantages and disadvantages of system V IPC mechanisms.(8)
13.(a).(ii). Compare the different forms of System V IPC. (8)
(Or)
13.(b). Explain the operation of Semaphore with an example application. (16)

14.(a). Write a note on the following function calls by specifying Syntax,Operation  and Necessity.
   (i). bind()            (4)
   (ii). inet_pton()      (4)
   (iii). Connect()       (4)
   (iv). Recvfrom()       (4)
(Or)
14.(b).(i). List and explain any socket options. Specify the function calls used to set and get the various socket options.(8)
14.(b).(ii). Explain I/O Multiplexing.(8)

15.(a). Explain the implementation of the tool,ping with necessary function.(16)
(Or)
15.(b). Write a UDP based echo server. Test its functionality with an echo client to calculate the RTT between the client and server.(16)

Friends please send ur suggestion, feedback and any previous question paper that you
have to : kishanraj.vlr@gmail.com

It will be posted along with ur name.

No comments:

Post a Comment