How To Exam?

a knowledge trading engine...


Jawaharlal Nehru Technological University Hyderabad 2011-3rd Sem M.C.A Code No: F3303 R09 s- LINUX PROGRAMMING - Question Paper

Tuesday, 02 July 2013 09:05Web

1. Write about File and Directory maintenance system calls? (Give syntax & examples).
2. a) elaborate message queues ? discuss with an example?
b) Write a program to allow cooperating processes to lock a resource
for exclusive use using semaphores.
3. a) elaborate Berkely sockets ? And write a note on 'socket options'?
b) discuss socket system calls for connectionless protocol.
4. Write a c program that demonstrates redirection of standard output to a
file.Ex: ls > f1. ?
5. a) Write about here documents ?
b) Write a shell script that determines the period for which a specified user is working on the system?
6. Write a c program that accepts 2 small numbers as arguments and then sums
the 2 numbers in a child process. The sum should be returned by child to the parent as its exit status and the parent should print the sum?
7. Write a C program that counts the number of blanks in a text file
a. Using standard I/O b. Using system calls
8. Write short notes on the following?
a) POSIX thread API's
b) Linux API's for shared memory
c) Process and Threads (differentiate)


( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Jawaharlal Nehru Technological University Hyderabad 2011-3rd Sem M.C.A Code No: F3303 R09 s- LINUX PROGRAMMING - Question Paper