Members Bookmarks Fresher Jobs Funny Pictures MCA Projects New Member FAQ  



My Profile
Active Members
TodayLast 7 Days more...



Awards & Gifts
Online Exams

Fresher Jobs


Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian cities including Bangalore, Chennai, Hyderabad, Pune or Kochi

Resources


Find educational articles, blogs, discussion threads and other resources.

Colleges


Find details about any college in India or search for courses.

Paid Surveys


website counter



Advance Unix programming Questions papers(important also)


Posted Date: 25 Apr 2008    Resource Type: Articles/Knowledge Sharing    Category: Education

Posted By: Uma       Member Level: Bronze
Rating:     Points: 5



ADVANCED UNIX PROGRAMMING QUESTIONS OF 2006 (APR/MAY ALL SETS)

SET NO-1
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?

the above questions provided cover nearly 75% of important questions i know
so Good luck for exams.




Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Schools in Banglore
Previous Resource: Educational Institutes in Pune
Return to Discussion Resource Index
Post New Resource
Category: Education


Post resources and earn money!
 
Related Resources


Contact Us    Privacy Policy    Terms Of Use   

SpiderWorks Technologies Pvt Ltd. 2006 - 2007 All Rights Reserved.