UNIX And Shell Programming 2018 – BSc Computer Science Part 3

Paper code: 13527
1527
B.Sc. (Computer Science) (Part 3)
Examination, 2018
Paper No. 3.3
UNIX AND SHELL PROGRAMMING

Time: Three Hours] [Maximum Marks: 50

 

Note: Attempt any five questions. All questions carry equal marks.

1. (a) Explain the features of UNIX 0.S.

    (b) Define the terms: kernel, Shell and Command Interpreter.

2. (a) Write command to search for any expression. How to find the directory in which you are currently working?

    (b) Describe the “Daemon Process”.

3. (a) Who developed the UNIX O.S.? What is the meaning of . and .. ?

    (b) Explain the mounting and unmounting of UNIX file system.

4. (a) Describe the language development tools: YACC and LEX.

    (b) How would you display the strings ‘aaa’ and ‘bbb’ in two different lines using the banner command? What is Bourne shell?

5. (a) How C-shell is different from Bourne shell?

    (b) What do the terms UID, PID stand for? What are the advantages and disadvantages of running a process in background?

6. (a) State whether the following statements are true or false:

  1. You can execute a shell script once it has been typed.
  2. Echo statement’s output can’t be redirected to a file.
  3. There is no restriction on the length of shell variable name.
  4. While executing a shell script the shell acts as a compiler.
  5. Programs written for Bourne shell are compatible for (with) Korn shell.

    (b) What do you mean by command line arguments?

7. (a) Explain the following:

  1. Shell meta characteristics
  2. Forking processes

    (b) Describe the child-parent relationship among the processes.

8. (a) Explain in details the terms:

  1. Debuggers DBx
  2. Role of shell

    (b) Any integer is input through the keyboard. Write a script/program to find out whether it is an odd number or even number.

9. Write short notes on any four of the following:

  1. Handling user account in UNIX
  2. Process Synchronization
  3. Grep
  4. File permissions in UNIX
  5. System booting
  6. pwd, ls, who, more and ps

……..End……..

Thank You!

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.