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: 1\tfrac{1}{2} Hours] [Maximum Marks: 50

Note: Attempt all sections as directed.

Section-A

Note: Attempt any two questions. 15 each

  1. (a) Explain the architecture of UNIX operating system.

(b) Discuss the salient features of UNIX.

  1. (a) Explain the different file types available in UNIX.

(b) What are the different ways of setting file permissions ?

  1. (a) Explain the different modes of vi editor.

(b) Explain shell’s interpretive life cycle.

  1. (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

  1. (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.

  1. (a) Explain following environment variables with example:

(i) HOME

(ii) PATH

(iii) IFS

    (b) Explain grep command with all options.

  1. (a) Explain Forking process and process synchronization.

(b) Explain YACE, LEX and M4.

  1. 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……..

Lokesh Kumar

Being EASTER SCIENCE's founder, Lokesh Kumar wants to share his knowledge and ideas. His motive is "We assist you to choose the best", He believes in different thinking.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.