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.
|
Download Model question papers & previous years question papers
|
Posted Date: 24 Oct 2008 Posted By: vindhya Member Level: Diamond
|
2008 Jawaharlal Nehru Technological University Information Technology III B.Tech Semester Supplimentary Examinations, Aug/Sep 2008,UNIX PROGRAMMING Question paper
Code No: R05320503 Set No. 2 III B.Tech Semester Supplimentary Examinations, Aug/Sep 2008 UNIX PROGRAMMING ( Common to Computer Science & Engineering and Information Technology ) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ? ? ? ? ? 1. Explain basic file attributes. Discuss the appropriate commands associated with these attributes. [16] 2. Which is the command used for ordering a file? Discuss all the options available for this command. For every option explain with an example. [16] 3. (a) While executing a shell script either the LOGNAME or the UID is supplied at the command prompt. Write a shell script to find out at how many terminals has this user logged in? (b) Write a shell script to display first n numbers of Fibonacci series. [8+8] 4. (a) Explain about different conditional expressions available in Bourne shell. (b) Write a shell script which receives two filenames as arguments. It should check whether the two file’s contents are same or not. If they are same then second file should be deleted. Use ‘cmp’ command to compare files. [8+8] 5. (a) Write the difference between fgetc and getc system calls. (b) Write the syntax of fflush system call give an example. [8+8] 6. (a) Write the differences between wait and waitpid system calls. (b) Explain threads. [8+8] 7. Explain the concept of requesting and releasing a lock. [16] 8. The syntax of msgget system call is int msgget(key t key, int flag) (a) Explain type of key (b) Explain what value it returns (c) What is the use of flag
Return to question paper search
|
|
|
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.
|
Advertise Here
|