UNIX Programming – December 2011

Part – A

    1. Explain about mkdir and rmdir functions.
    2. Explain about reading directories.
    3. Explain about Temporary files.
    4. What are different file permission?
    5. Explain the exit function.
    6. Define 3-process identifiers.
    7. What are different line control functions.
    8. Explain read and write functions.
    9. Explain popen and pclose functions.
    10. What is concurrency?

Part – B

Unit -I

    1. Explain File sharing in Unix.
    2. Explain about dup and dup2 functions.
    1. Explain about set-user ID and set Group ID.
    2. Explain structure of Unix file systems.

Unit -II

    1. Explain the reading and writing stream.
    2. Explain opening a stream.
    1. Explain memory layout of a C-program.
    2. Write short notes on environment list.

Unit -III

    1. Explain about process groups.
    2. Explain about session.
  1. What are the conditions that can generate a signal? Explain operation of signals.

Unit -IV

  1. Write short notes on the following :
    1. Streams
    2. Streams messages
    1. What is a Daemon process? Explain the coding rules for a daemon.
    2. Explain the difference between advisory and mandatory locking.

Unit -V

  1. Explain different massage queues.
  2. With an aid of program. Explain inter process communication using pipes.

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.