Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
USN IS34
B. E. Degree (Autonomous) Third Semester End Examination (SEE), Dec 2018/Jan 2019
Instructions to students:
1. Answer FIVE FULL questions.
2.
With a neat diagram, explain the architecture of UNIX, clearly bringing out the division
1. a)
of labor between kernel and shell. 08 Marks
b) Write a note on man documentation. Also give the usage of aprops and what is. 06 Marks
OR
2. a) What is file permission? What are the different ways of setting file permission?Discuss. 08 Marks
b) With suitable examples, bring out the difference between absolute and relative 06 Marks
pathnames.
What is a process? Illustrate the mechanism of process creation. 06 Marks
c)
What are standard input, standard out put and standard error? Discuss with respect to 06 Marks
3 a) UNIX
b) With neat diagram , discuss different modes of operation of vi editor 08 Marks
c) What do you mean by link? Give the difference between soft link & hard link. Also write 06Marks
disadvantages when using soft link.
OR
4. a) What is a job? Describe different job control facilities with suitable examples 09Marks
5. a) With suitable examples,explain the grep command and its various options. 08Marks
c) Design a shell script to find out whether a given string is palindrome or not. 06Marks
OR
a) Explain the shell's for loop giving the possible sources of the list.
6.
06 Marks
b) Explain basic regular expression used with grep.
06 Marks
c) Write a menu-driven shell script to perform the following: 06 Marks
i) List of user who are logged in.
ii) List of files in the current directory
iii) List of processes of user
iv) Today's date
v) Quit to UNIX
7. a) Discuss the following built in function in awk. 08 Marks
i.split() ii.substr() iii.length() iv.index().
b) Explain with example the purpose of BEGIN and END block of awk utility. 06 Marks
8. a) Write an awk script to delete duplicated lines form a given input file. 06 Marks
b) With suitable examples explain the if and while statements in awk. 06 Marks
b) Write a perl program to check given year is leap year or not. 06 Marks
******