UNIX And Shell Programming 2019 – BSc Computer Science Part 3

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

Time: Three Hours] [Maximum Marks: 50

 

Note: Attempt total five questions one from each section. All questions carry equal marks.

Section-A

1. (a) What is kernel in Unix operating system ? What are its major responsibilities ?

    (b) Name the two types of ordinary files and explain the difference between them. Write two examples of each type.

2. (a) Draw the basic block diagram of Unix architecture. Briefly describe the major components of this architecture.

    (b) Which of these directories “.” , “..” and “…” can be created by user ? Explain your answer by providing the details of these directories.

Section-B

3. (a) How is a new user created by administrator ?

    (b) How do you set read, write and execute permissions for group members and just read permissions for others ? Explain.

4. (a) What do you understand by mounting ? How do you mount and unmount a USB disk in UNIX/LINUX ? Explain your answer with appropriate commands with syntax.

    (b) How are the devices represented in UNIX system ? Explain the unity of two special system ? Explain the unity of two special devices /dev/tty and /dev/null.

Section-C

5. (a) What are major text formatting tools in UNIX system ? Explain their uses.

   (b) What is debugger and why is it used ?

6. (a) What are the major development tools in UNIX system ? Explain their uses.

    (b) Briefly write about lint and make tools.

Section-D

7. (a) Write a shell script that takes marks of a student as input and prints its percentage.

    (b) Write a shell script that prints the table of a given number.

8. (a) Write a shell script that finds the largest of three numbers.

    (b) Write a shell script that compares two strings and displays if they are same or not.

Section-E

9. (a) What is a process ? What is child-parent relationship ?

    (b) How do you create a child process ? Explain.

10. (a) Differentiate the system call and library function.

      (b) How do you run a process as a background process ? How do you use process identifiers.

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