Jawaharlal Nehru Technological University Hyderabad 2010-3rd Sem M.C.A Code No: 33 R06 -ester Supplementary s UNIX NETWORK PROGRAMMING - Question Paper
Code No: 33
R06
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
MCA-III Semester Supplementary Examinations July 2010
UNIX NETWORK PROGRAMMING
Time: 3hours Max.Marks:60
Answer any Five questions
All questions carry equal Marks
---
1.a)
b)
2.a)
b)
3.
4.a)
b)
5.a)
b)
6.a)
b)
7.a)
b)
8.a)
b)
Explain the following utilities:
i) df ii) finger
iii) ftp iv) mv
v) tee vi) pg
Explain briefly about Vi editor.
Write a C program to find whether a given file is a file or a directory.
What is a shell? Explain why there is a single kernel and multiple shells.
Describe how files can be shared in UNIX and explain concept of dup( ).
What is a process? Write a C program to start a new process.
Write the differences between:
i) Kill and raise functions
ii) vfork ( ) and exec ( )
Write brief notes on:
i) File locking
ii) Record locking
iii) Semaphores.
What are the different kernel data structures maintained by kernel for message
queues?
What are the different kernel data structures maintained by kernel for semaphore?
Explain.
Why should we associate a type with each message? Explain the purpose of
having a type associated with each message, in detail.
Explain briefly file locking with semaphores.
List out the different kernel data structures maintained by kernel for shared
memory. Explain briefly.
Write short notes on TCP/IP model illustrating with suitable diagrams.
Illustrate the steps involved in a connection less protocol for a typical client
server. Write in brief about the system cells involved on the client and server side.
-oOo-
Earning: Approval pending. |