You are on page 1of 2

February 2013 (Spring drive) Bachelor of Computer Application (BCA) Semester 5 BC0056 Unix Operating System

(Book ID: B0973)

4 Credits

(40 + 20 Marks)

Answer all questions. Theoretical Questions [ 5 x 8 marks]


1. What are the layers present in a UNIX Architecture? Lsit and explain each of them. [4+4 Marks] 2. Explain the term Inter-Process Communication. What are various approaches to achieve the same? [4+4 Marks] 3. What is the procedure for viewing and Setting Environment Variables [4+4 Marks] 4. How will you perform the following in vi? [2x 4 Marks] i) ii) iii) iv) To search and replace all occurences of pattern1 with pattern2 insert text (and enter input mode) append text (to end of line) Move to the end of line

5. What is a crond? What is its use? [4+4 Marks]

Practical Questions [ 2 x 10 marks]


6. Demonstrate how and when can you use the commands: vi, cat, chmod, grep, man, pwd, ps, kill, mkdir, rm. [10 marks] 7. Write a C program that illustrates the creation of child process using fork system call. One process finds sum of even series and other process finds sum of odd series. [10 marks]

You might also like