Veer Narmad South Gujarat University 2010-6th Sem Certification MS-CIT Rr-4007 -08 - Unix & Shell Programming B.Sc ( IT ) ( ) - Question Paper
RR-4007-08
B. Sc. (IT) (Sem. VI) Examination March / April - 2010 Unix & Shell Programming
[Total Marks : 70
Time : 3 Hours]
RR-4007
Instruction
Seat No.:
M CnsLLnlcj.L{l [qoicu u? snqw <h>h41.
Fillup strictly the details of signs on your answer book.
Name of the Examination :
B. Sc. (IT) (Sem. 6)
Name of the Subject:
Unix & Shell Programming
-Section No. (1,2,.....): 1
Student's Signature
-Subject Code No.
Answer the following questions in detail : (any three)
15
(1) Explain various features of Unix Operating System ? As kernel administrator, what kind of other features can you implement in modern Linux OS ?
(2) Everything is a file in Unix. Justify this statement and explain the file accessing mechanism in Unix.
(3) What are the different permission assigned to file when created ? How the user can change these permissions of the file ?
(4) Which command is used to extract some fields from a file ? Explain with all possible options.
(a) Do as directed :
8
With vi editor, how ESC mode is useful for performing various options ?
What is the result of [A0-9]* regular expression ?
(2)
(3)
(4)
To search for blank line and replacing those lines with *** which command user will write ?
Change the access time of file bca5 to 1st April,
9 am.
(b) Explain following commands : 4
(1) ps - f
(2) fork( )
(3) who -h
(4) lock
Write following scripts : (any two) 8
(1) Write a script to reverse the fields of the employee file and display all the records.
(2) Write a script to count number of occurences of inputted word for student file e.g. how many dotnet words are there.
(3) Write a script to reverse the lines of file.
nLl ?iR<-t CnsLLnlcj.L{l [qoicu StuT. u? snqw <h>h41.
Fillup strictly the details of signs on your answer book.
Name of the Examination :
B. Sc. (IT) (Sem. 6)
Name of the Subject:
Unix & Shell Programming
Student's Signature
-Subject Code No.: |
|
-Section No. (1,2,.....): |
(4) Explain the filter which cannot accept a regular expression with example.
(5) What is the use of NF, FILENAME and NR ?
(b) Explain booting process of Unix in detail. How 7
GRUB will be loaded ?
6 Attempt any two questions : 8
(1) Write an awk program for displaying percentage of the student calculated on the basis of all subject marks in a particular semester.
(2) Explain various testing condition for string checking with example.
(3) Explain various redirections with example.
RR-4007-08] 4 [ 200 ]
Attachment: |
Earning: Approval pending. |