You are on page 1of 2

For More Question Papers Visit - www.pediawikiblog.

com

GI~'-:::l
r , ..c./)
\C:S;~
t::.l ~
/r~{'
\) &"'\
(""- ,c~1 15CS35
USN (/",~
(;
• ,~\- J

m
Third '~'e~ester B.E. Degree Examination, Dec.2017jJ~.2018
I { ,

<...; ~/-U-NIX and Shell Programming ~/


I

co
Time: 3 hrs. _ I
Max. Marks: 80
.Note: Answer any FIVE full questions, choosing
\.'~ ONE full question from each mpi!~[e.'
,/ ( /.

g.
~
Module-l
. (('" \
[ 'J' ,'\ ':'::.l)

lo
1 a. List and explain features ofUNrx operating system., ) (07 Marks)
b. Discuss internal and external commands, with suitable examples. (06 Marks)
Write the outputs of the following commands:
i) cal 8 1947 ,"
ii) echo 'Todays date is 'date"
iii) date + "Date is : %a/%h/% Y". 0
1'('\'

~J ~1t'"
<: ib (03 Marks)
ik
\.
c >; \, 7>

2 a. Explain "man" documentation, and its internal commands. (08 Marks)


w
b. Describe command arguments and options with suitahle; examples. (04 Marks)
c. How an ordinary user can become a super user and vise versa? Explain with suitable
commands. ' ~ , (04 Marks)
ia

(C:~?
<~6.
ed

<J)
Module-2 ";" >~'"
",~, /,'/
3 a. What is a file system~,Explain Unix file system with neat diagrallJ'!-:;:alsoexplain parent and
child relationships- with suitable examples. (' "-1(- (08 Marks)
.p

b. What is path name? List and explain types of path-names with an examples. (06 Marks)
c. Write the command line to perform the followings: tr ~
i) Change current directory to home directory ~ :;.../-;0,
(O'r)
ii) Change to parent of parent directory. .::» C (02 Marks)
w

,-S 1;...,
0' .
..
1-0 OR \Uj"
O>~-.
w

.., 4 a. What are file permissions? Describe different ways of changing the file permission . (?/<;.
'0 (07r'Marks)
Z (06 '-"'(arks)
w

C b. Explain CP and Od commands with options.


~ c. Write the output for the following command lines.
o
c.
E
i) mv filenamea d ir name
ii) ~s : wc-w
iii) who: we -~ . (03 Marks)

10f2

For More Question Papers Visit - www.pediawikiblog.com


For More Question Papers Visit - www.pediawikiblog.com

'"-lSCS35

Module-3
5 a. List ~\l~e\plain the different modes of Vi editor, also explain different ways of quitting Vi

m
editorx. ,'£ ' (08 Marks)
b. ~iscus~. t~e t?~l.~wing.commands with respect to yi edito.~. ... ('.
I) b II) W ~J{I) I IV) G v): 1, 5w ab.txt VI) h VII) J VIII} abbr. (08 Marks)

co
({::::> )~ ",
~- .)
\/i(\\Z) OR (( "..

6 a. What are wild card~ '~har cters? Explain each of them wit~~ 1table examples. (08 Marks)

g.
b. What is the purpose ~f grep Explain grep with all options. (06 Marks)
c. Explain tee command witl 'tin example. ' (02 Marks)
",/ (. ~
'( Z ~

lo
'- / fu,,:
.Module-4 ~j
I

7 a. Explain test command for handling strings. (04 Marks)


b.
c. Explain for loop, also possible sourcesof argument list.
ib
Write a shell script using case to perform all arithmetic operations. (06 Marks)
(06 Marks)
ik
. ~
OR
\~
0,
.
aw

8 a. Explain cut command with all opti.oJ:: with examples. (05 Marks)
b. What are links? How to create different types of links? And list their differences. (06 Marks)
c. Discuss umask and default file permissions. (05 Marks)
(
I" "-
///1 f'/
i

/' , v/ Module-5
ed

9 a. Discuss how to execute commands periodically with suitable example. (05 Marks)
b. Explain find cOrrufland in detail. / '" (06 Marks)
c. What is process?~pliin different mechanisms of process creation> (05 Marks)
, " " f..
.p

(, I I' \ I

A\~~J OR
w

10 a. Expla~ !ri'q'g handling functions in PERL. (07Marks)


b.
c.
Write 'a ·p(c.&L programs check the given year is leap year or not.
E plain sp It function in PERL rieIly. ~~--- ._~~5~~0~7=Ma~~-=~~~~
(02 Marks)
w

-,
***** J
w

20f2

For More Question Papers Visit - www.pediawikiblog.com

You might also like