You are on page 1of 2

H.T.

No: Course Code: 171CS5E01

ADITYA ENGINEERING COLLEGE (A)

UNIX AND SHELL PROGRAMMING – (ELECTIVE – I)


Computer Science & Engineering
Time: 3 hours Max. Marks: 60
Answer ONE question from each unit
All Questions Carry Equal Marks
All parts of the questions must be answered at one place only

UNIT – I
1 a Illustrate UNIX operating system Architecture with neat diagram. CO1 [6M]
b Explain the following UNIX Commands with suitable examples CO2 [6M]
i) mount ii) cp iii) ps iv) chmod
OR
2 a Describe UNIX file system with diagram. CO1 [6M]
b List and explain the Network and Disk utilities. CO2 [6M]
UNIT – II
3 a Discuss in detail on Shell and Command line structure. CO4 [6M]
b List out the Shell Variables offered in UNIX and explain. CO4 [6M]
OR
4 a Identify meta characters with suitable examples. CO4 [6M]
b Develop a shell script to find factorial of a given number by passing CO4 [6M]
positional parameters.
UNIT – III
5 a Write a Grep(egrep) command that selects the lines from file1 that start with CO3 [6M]
the string “UNIX” and end with the string “UNIX”.
b Define regular expression? Explain filters associated with Grep CO5 [6M]
family.
OR
6 a Illustrate the working principles of fields and records in AWK. CO6 [6M]
b Describe the system commands in AWK with example CO6 [6M]
UNIT – IV
7 a What are positional parameters in Shell? Describe in detail. CO7 [6M]
b Describe about Branching Control structures offered in UNIX. CO7 [6M]
OR
8 a Explain various Special Parameters and Variables in C shell CO7 [6M]
programming.
b Write about Expr command to perform Integer & Real Arithmetic in CO7 [6M]
shell programs.
UNIT – V
9 a Discuss on the following File management system calls. CO8 [6M]
i) open ii) create iii) close iv) read v) write.
b Write a short note on CO8 [6M]
i) lseek ii) link iii) stat
OR
10 a Explain the Process control system calls with suitable examples. CO8 [6M]
b Summarize the System calls in Directory API. CO8 [6M]
*****

You might also like