Author Topic: Advance Unix programming Questions papers(important also)  (Read 1992 times)

ganeshbala

  • Winners @ IT Acumens
  • Co Admin
  • Hero Member
  • *****
  • Posts: 10192
  • Am @ IT Acumens
    • View Profile
    • IT Acumens Bala
Advance Unix programming Questions papers

1.Explain the following commands with syntax
a.ln
b.mv
c.rm
d.ulimit.

2.Explain the following commands with syntax
a.head
b.grep
c.cut
d.paste

3.write a program to open the command ls and
and give the output to command wc and which
counts the number of files.

4.Explain the following system calls with syntax
a.getrlimit().
b.setrlimit().
c.fork().
d.wait().

5.a.what is reliable signals.Explain the four primary features of
reliable signals.
b.Write in detail about the interrupted system calls.

6.a.Explain the detail about the requirement of file locking mechanism.
b.Explain in detail about fcntl() function.

7.a.Write about the timing comparision of "Semaphores Vs Record Locking".
b.Write about the semaphore adjustment on exit. Explain about the importance of SEM_UNDO.

8.Write an example and explain in detail about the
a.Getting Message queue status and
b.Removing Message queue.

SET NO-2
1.Explain the following commands with syntax.
a.finger.
b.find.
c.unlink.
d.ulimit.

2.write the shell code to accept the strings from terminal
and echo a suitable message if it has less than 10 charecters using
a.case.
b.expr.

3.Briefly explain the following.
a.Stream error.
b.file I/O.

4.Write a short notes on the following.
a.Process control.
b.Process identifiers.

5.a.Write in detail about the interrupted system calls.
b.Write in detail about the kill and raise functions.

6.a.What is region lock?What are the rules about the specification of region
to be locked or unlocked?
b.Write about file locking Vs Record locking?

7.a.Explain about the semget(),semctl() and semop() functions?
b.Write about the timing comparision of "Semaphores Vs Record locking"?

8.What is shared memory? What is the importance of it? Explain in detail about the process of "Allocating a shared memory segment"?


SET NO-3
1.Explain the following commands with syntax
a.pwd.
b.mkdir.
c.cp.
d.mv.

2.Explain the following commands with syntax
a.cat.
b.tail.
c.head.
d.uniq.

3.Write in detail about the following
a.Flie descriptor.
b.Unix file structure.

4.Is there anyway for a function that is called by main function to examine the command line arguments without
a.Passing argc and argv as arguments from main to the function.
b.Having main copy argc and argv into global variables.

5.a.What is signal function? write and explain about the structure of signal function.
b.What are the phases in signaling processing?Explain what is meant by lifetime of signal?

6.a.What is region lock?What are the rules about the specification of region
to be locked or unlocked?
b.Write about file locking Vs Record locking?

7.a.What is a semaphore?How to synchronize processes using semaphores?
b.Explain in detail about the file locking in semaphores?

8.What is shared memory? What is the importance of it? Explain in detail about the process of "Allocating a shared memory segment"?


SET NO-4
1.Explain the following commands with syntax
a.mkdir.
b.mount.
c.cp.
d.du.

2.Explain the following commands with syntax.
a.egrep.
b.tail.
c.paste.
d.nl.

3.Define file.Explain in detail about the various files.

4.Explain the following system calls with syntax.
a.fork().
b.vfork().
c.exit().
d.wait().

5.a.Explain about "sending signals using system calls".
b.What is a signal handler? Explain how to install a signal handler?

6.a.With an example explain about setting a lock?
b.With an example explain about clearing a lock?

7.a.Explain in detail about file locking with semaphore?
b.Explain about simple semaphore operation?

8.a.Draw and explain about the "Message queue structures in the Kernal"?
b.With an example ,Explain in detail about the process ofreading a message from the queue?

Upload your Resume here, A copy will be sent to IT Acumens & Team.
And we will directly Refer to top companies.

To Learn about our openings & Training,
please send your resume indicating desired position to career@itacumens.com (or)
Type "JOIN JOB" and Send
SMS to 9566295662 For Free Job Openings.
Type "JOIN TRAIN" and Send SMS to 9566295662 For Free Training Information's.