UNIX And Shell Programming 2021 – BSc Computer Science Part 3
Total No. of Questions : 8] [Total No. of Printed Pages : 4
Paper code: 13527
1527
B.Sc. (Computer Science) (Part 3)
Examination, 2021
Paper No. 3.3
UNIX AND SHELL PROGRAMMING
Time: Hours] [Maximum Marks: 50
Note: Attempt all sections as directed.
Section-A
Note: Attempt any two questions. 15 each
- (a) Explain the architecture of UNIX operating system.
(b) Discuss the salient features of UNIX.
- (a) Explain the different file types available in UNIX.
(b) What are the different ways of setting file permissions ?
- (a) Explain the different modes of vi editor.
(b) Explain shell’s interpretive life cycle.
- (a) Explain the shell features of “while” and “for” with syntax and examples.
(b) Explain the commands:
(i) at
(ii) cron
(iii) nice
(iv) nohup
(v) we
Section-B
Note: Attempt any one questions. 20 each
- (a) Write a shell code to accept a string from the terminal and display suitable message if it doesn’t have at least 10 character using “case”.
(b) Explain booting sequence with init process.
- (a) Explain following environment variables with example:
(i) HOME
(ii) PATH
(iii) IFS
(b) Explain grep command with all options.
- (a) Explain Forking process and process synchronization.
(b) Explain YACE, LEX and M4.
- Write shorts notes on any four of the following :
(i) Portability of UNIX with C.
(ii) Command Library and Include files.
(iii) Parent child relationship of UNIX file system.
(iv) Arrays in shell programming.
(v) SCCS
……..End……..