Community Sites
Create your own community website and start earning today !
It's Free !
 
Communities Members BookmarksPolls 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.

website counter



Download Model question papers & previous years question papers

Posted By: sunil       Member Level: Diamond       Posted Date: 23 Jun 2008

2008 III B.Tech II Semester Regular Examinations, Apr/May 2008 UNIX PROGRAMMING Question paper



Course:   University:




Code No: R05320503




Set No. 3



III B.Tech II Semester Regular Examinations, Apr/May 2008
UNIX PROGRAMMING
(Computer Science and Engineering)

Time: 3 hours


Answer any FIVE Questions
All Questions carry equal marks
? ? ? ? ?

Max Marks: 80


1. “Operating systems like UNIX provide services both for programs and users”. Jus-

tify this statement with suitable examples.
2. (a) How to remove duplicate lines from a ?le using sort?
(b) How to count the number of ordinary ?les in home directory tree?
(c) Select lines 5 to 10 of a ?le in two ways.
3. (a) Write a shell script for the following task.

[16]




[5+5+6]

The word ‘unix’ is present in only some of the ?les supplied as arguments to
the shell script. Your shell script should searched each of these ?les in turn
and stop at the ?rst ?le that it encounters containing the word ‘unix’. This
?lename should be displayed on the screen.
(b) Write a C program which receives ?le names as command line arguments and

display those ?lenames in ascending order according to their sizes.

[8+8]

4. (a) Write a shell script which gets executed the moment the user logs in. It should
display the message “good morning/good afternoon/good evening” depending
upon the time at which the user logs in.

(b) Explain about here documents with an example.

[8+8]

5. (a) Write and explain about hard and symbolic links.. give an example for each.

(b) Explain about ?le descriptors & i-node?

6. Write the syntax of following functions. Explain each argument.
(a) kill
(b) raise
(c) alarm
(d) exit.

7. (a) Write a C program to use a function lock test to test for a lock.
(b) Write about lockf function.

8. Explain the following concepts about pipes
(a) Pipes between two process
(b) Pipes among three process in a shell






Return to question paper search

Next Question Paper: II B.Tech II Semester Regular Examinations, Apr/May 2008

Previous Question Paper: III B.Tech II Semester Regular Examinations, Apr/May 2008 UNIX PROGRAMMING

Related Question Papers:


  • 12 accountancy 1st term paper


  • Home_Science_Delhi_X_2007_set1


  • M.Phil(Public administration)


  • Social studies


  • ICAI Final - May, 2004


  • Categories


    Submit Previous Years University Question Papers and make money from adsense revenue sharing program

    Are you preparing for a university examination? Download model question papers and practise before you write the exam.

    Watch TV Channels



    Contact Us    Privacy Policy    Terms Of Use   

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