0% found this document useful (0 votes)
44 views2 pages

Unix and Shell Programming - (Elective - I)

This document contains instructions for a UNIX and Shell Programming exam. It outlines 5 units that will be covered on the exam. For each unit, it lists 2 questions and specifies which course outcomes each part of the question fulfills. Students must choose 1 question from each unit and answer all parts of the selected questions together in one place. The questions cover topics like UNIX architecture, commands, file systems, shells, command line structure, shell variables, grep commands, AWK, positional parameters, branching control structures, special parameters and variables, file management system calls, process control system calls, and directory API system calls.

Uploaded by

Ramyasri Smilez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views2 pages

Unix and Shell Programming - (Elective - I)

This document contains instructions for a UNIX and Shell Programming exam. It outlines 5 units that will be covered on the exam. For each unit, it lists 2 questions and specifies which course outcomes each part of the question fulfills. Students must choose 1 question from each unit and answer all parts of the selected questions together in one place. The questions cover topics like UNIX architecture, commands, file systems, shells, command line structure, shell variables, grep commands, AWK, positional parameters, branching control structures, special parameters and variables, file management system calls, process control system calls, and directory API system calls.

Uploaded by

Ramyasri Smilez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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