UNIX Programming – May 2010

Part – A

    1. Define a process.
    2. What are the attributes of a file ?
    3. Differentiate between for( ) and v for( ).
    4. Write the syntax for system( ) function.
    5. Write about open( ) function.
    6. What is a buffer ?
    7. What is deadlock ?
    8. Write about password file .
    9. Write the types of process termination.
    10. Write about command – line argument.
    11. What is record locking ?
    12. What is a session ?
    13. What is a system call ?
    14. Write about file sharing .
    15. Write syntax for wait function.
    16. What is controlling terminal ?
    17. Write the syntax for select function.
    18. Write about Stty command .
    19. List out special input characters ? (Any five)
    20. What is a flag ?
    21. Write syntax for popen and pclose function
    22. What are named Dipes ?
    23. What are the forms of CPC?
    24. What is a daemon process ?
    25. What is an open server ?

Part – B

Unit -I

    1. Write about file types.
    2. Write about (seek). give syntax.
    1. Write a ‘C’ program for open syntax call.
    2. What is File Termination ?

Unit -II

    1. Write memory layout of a ‘C’ program.
    2. Write about streams and file object.
    1. Write about mkdir and rmdir functions.
    2. Explain the three functions for memory allocation.

Unit -III

  1. What are signals? What conditions generates a signal? Explain the different ways in which process on respond to signals?
    1. Explain the difference between parent and child process .
    2. Write about sessions

Unit -IV

    1. Write about multiplexing
    2. Explain Asynchronous I/O.
    1. What is memory mapped I/O?
    2. Client-server model explain.

Unit -V

    1. Write about Unix APIS for shared memory.
    2. Explain Identifiers.
    1. Write about semaphores.
    2. Explain the function of client server connections.

Attention : This exam questions are converted from the real exam paper to a digital text format by using an OCR Software that may made some mistakes, I reviewed it many times to correct it, But may still there some errors that I missed or misspelled, So if you detect an error or mistake PLEASE report by adding a comment or contact me.