FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

📱

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

Download VTU BE 2020 Jan CSE Question Paper 17 Scheme 3rd Sem 17CSIS35 UNIX and Shell Programming

Download Visvesvaraya Technological University (VTU) BE ( Bachelor of Engineering) CSE 2017 Scheme 2020 January Previous Question Paper 3rd Sem 17CSIS35 UNIX and Shell Programming

This post was last modified on 02 March 2020

... ,--,, .....,...
,/
.
."
-

--- Content provided by FirstRanker.com ---

a.. Soc/.
,r
,
? ?... .o,, \\
,., .ei

--- Content provided by FirstRanker.com ---

.....
?
(.1
1\

--- Content provided by FirstRanker.com ---

I

i
CHU< OD(
17CS/IS35

--- Content provided by FirstRanker.com ---

USN
Third Semester B.E. Degree Examination, Dec.2019/Jan.2020
UNIX and Shell Programming
Time: 3 hrs. Max. Marks: 100
Note: Answer any FIVE full questions, choosing ONE full question from each module.

--- Content provided by FirstRanker.com ---

Module-1
1 a. Explain with a figure, the kernel and shell relationship in Unix operating system. (08 Marks)
b. Explain with suitable example, options and filenames as arguments. (06 Marks)
c. What is the use of following commands : echo, I s, who (06 Marks)
6.

--- Content provided by FirstRanker.com ---

? ?
to
=
.4d 3
OR

--- Content provided by FirstRanker.com ---

2 a. List and explain the salient features of UNIX operating system. (08 Marks)
b. List and explain the important sections of man command with suitable example. (06 Marks)
01 Tr
c. Explain the use of following commands : printf, passwd, cal (06 Marks)
6. u

--- Content provided by FirstRanker.com ---

,=,
O ... >
vl
sz?
,,,

--- Content provided by FirstRanker.com ---

:? ?
3 a.
c
?
i

--- Content provided by FirstRanker.com ---

b. ,
P. v
u u
c.
Tu

--- Content provided by FirstRanker.com ---

.
t
a ----
o "C
W) C

--- Content provided by FirstRanker.com ---

cc cc
;
e1 ti
rs
ct z

--- Content provided by FirstRanker.com ---

"0 cci OR
>, t
.. .7.:
c
, 4 a. What is parent child relationship? Explain with a figure, the UNIX file system. (06 Marks)

--- Content provided by FirstRanker.com ---

o ?
1 . _ n 73
b. Explain the use of chmod command to change file permission using both absolute and
P ,
P c. relative methods. (06 Marks)

--- Content provided by FirstRanker.com ---

? '
.3

g.) 6
c. Explain the following commands with syntax and example : cat rm cp we (08 Marks)

--- Content provided by FirstRanker.com ---

..; o
?"ct ..=.
? 0
a-
1

--- Content provided by FirstRanker.com ---

a: --
... r,
Module-3
2

--- Content provided by FirstRanker.com ---

--.-,
o 5 a. Explain with a figure, the three mode of Vi editor. (08 Marks)

tA
c e,0

--- Content provided by FirstRanker.com ---


. = b. Explain the various ex mode commands with example. (06 Marks)
'E. g
c. Evaluate the following commands and write the output.
, >

--- Content provided by FirstRanker.com ---

...2
,
u i) Is ?I I grep "Ad" > file!
8 a

--- Content provided by FirstRanker.com ---

ii) grep ?v "ZEE" news.txtlwc
._. ,-.i
iii) grep "8 .. . . $" filet
z
e,

--- Content provided by FirstRanker.com ---

o iv) grep jai sharma emp ?Ist
v) grep ?c member filet
c
t vi) grep A[A3] filename. (06 Marks)
0

--- Content provided by FirstRanker.com ---

Module-2
What is a file? Explain the three categories of files in UNIX operating system. (08 Marks)
Explain the Is command with all the options. (06 Marks)
Explain the following commands with syntax, option and example : mkdir, rmdir, od my.
(06 Marks)

--- Content provided by FirstRanker.com ---

E
FirstRanker.com - FirstRanker's Choice
... ,--,, .....,...
,/
.

--- Content provided by FirstRanker.com ---

."
-
a.. Soc/.
,r
,

--- Content provided by FirstRanker.com ---

? ?... .o,, \\
,., .ei
.....
?
(.1

--- Content provided by FirstRanker.com ---

1\

I

i

--- Content provided by FirstRanker.com ---

CHU< OD(
17CS/IS35
USN
Third Semester B.E. Degree Examination, Dec.2019/Jan.2020
UNIX and Shell Programming

--- Content provided by FirstRanker.com ---

Time: 3 hrs. Max. Marks: 100
Note: Answer any FIVE full questions, choosing ONE full question from each module.
Module-1
1 a. Explain with a figure, the kernel and shell relationship in Unix operating system. (08 Marks)
b. Explain with suitable example, options and filenames as arguments. (06 Marks)

--- Content provided by FirstRanker.com ---

c. What is the use of following commands : echo, I s, who (06 Marks)
6.
? ?
to
=

--- Content provided by FirstRanker.com ---

.4d 3
OR
2 a. List and explain the salient features of UNIX operating system. (08 Marks)
b. List and explain the important sections of man command with suitable example. (06 Marks)
01 Tr

--- Content provided by FirstRanker.com ---

c. Explain the use of following commands : printf, passwd, cal (06 Marks)
6. u
,=,
O ... >
vl

--- Content provided by FirstRanker.com ---

sz?
,,,
:? ?
3 a.
c

--- Content provided by FirstRanker.com ---

?
i
b. ,
P. v
u u

--- Content provided by FirstRanker.com ---

c.
Tu
.
t
a ----

--- Content provided by FirstRanker.com ---

o "C
W) C
cc cc
;
e1 ti

--- Content provided by FirstRanker.com ---

rs
ct z
"0 cci OR
>, t
.. .7.:

--- Content provided by FirstRanker.com ---

c
, 4 a. What is parent child relationship? Explain with a figure, the UNIX file system. (06 Marks)
o ?
1 . _ n 73
b. Explain the use of chmod command to change file permission using both absolute and

--- Content provided by FirstRanker.com ---

P ,
P c. relative methods. (06 Marks)
? '
.3

--- Content provided by FirstRanker.com ---

g.) 6
c. Explain the following commands with syntax and example : cat rm cp we (08 Marks)
..; o
?"ct ..=.
? 0

--- Content provided by FirstRanker.com ---

a-
1
a: --
... r,
Module-3

--- Content provided by FirstRanker.com ---

2

--.-,
o 5 a. Explain with a figure, the three mode of Vi editor. (08 Marks)

--- Content provided by FirstRanker.com ---

tA
c e,0

. = b. Explain the various ex mode commands with example. (06 Marks)
'E. g

--- Content provided by FirstRanker.com ---

c. Evaluate the following commands and write the output.
, >
...2
,
u i) Is ?I I grep "Ad" > file!

--- Content provided by FirstRanker.com ---

8 a

ii) grep ?v "ZEE" news.txtlwc
._. ,-.i
iii) grep "8 .. . . $" filet

--- Content provided by FirstRanker.com ---

z
e,
o iv) grep jai sharma emp ?Ist
v) grep ?c member filet
c

--- Content provided by FirstRanker.com ---

t vi) grep A[A3] filename. (06 Marks)
0
Module-2
What is a file? Explain the three categories of files in UNIX operating system. (08 Marks)
Explain the Is command with all the options. (06 Marks)

--- Content provided by FirstRanker.com ---

Explain the following commands with syntax, option and example : mkdir, rmdir, od my.
(06 Marks)
E
17CS/IS35
OR

--- Content provided by FirstRanker.com ---

6 a. What are wild cards? Explain the various shell wild cards with suitable example. (08 Marks)
b. Explain the grep command with all the options. (06 Marks)
c. Apply the shell's wild cards and write the output :
i) [a z] [1 ? 4]*. txt
ii) *. [!c] [!p] [!p]

--- Content provided by FirstRanker.com ---

iii) *[0 ? 3] [A ? Z]
iv) chap* [!0 ? 9]
v) chap [0 ? 1] [0 ? 9]
vi) [A ? Z] [a ? z] [0 ? 9]*
Module-4

--- Content provided by FirstRanker.com ---

7 a. Explain the sort command with options and example.
b. Explain the three different forms of if conditional statement.
c. Write a menu driven shell script to perform the following operations.
i) List of Users ii) Files in a directory
iii) Today's date iv) Count number of files in a directory.

--- Content provided by FirstRanker.com ---

(06 Marks)
(06 Marks'
(08 Marks)
OR
8 a. What is hard link and soft link? Give differences between them. (04 Marks)

--- Content provided by FirstRanker.com ---

b. Explain the following commands with options and example: head tail cut paste. (08 Marks)
c. Write a menu driven shell script using case statement to perform all arithmetic operations.
(08 Marks)
Module-5
9 a. What is a process? Explain the mechanism of process creation.

--- Content provided by FirstRanker.com ---

b. Explain the following commands with options and example : ps kill at bg.
c. Write a perl script to check whether the given year is a leap or not.
(06 Marks)
(08 Marks)
(06 Marks)

--- Content provided by FirstRanker.com ---

OR
10 a. Explain string handling functions in perl. (08 Marks)
b. Explain with example, how the variables are defined and initialized in perl. (06 Marks)
c. Write a perl script to convert the given decimal number into its equivalent binary number.
(06 Marks)

--- Content provided by FirstRanker.com ---

b 0
* * * *
7 1
1
Lh:

--- Content provided by FirstRanker.com ---

-
.);\ ? ?
(06 Marks)
2 oft
FirstRanker.com - FirstRanker's Choice

--- Content provided by FirstRanker.com ---