--2
100079
No. of Printed Pages : 3
I|llilflil]tflt]fl]ilil]lllt
GS-65 1
IV Semester B.C.A. Examination, May/June - 2OI9
COMPUTER SCIENCE
BCA-4O6 : UNIX Programming
(Y2KB Scheme)
Time : 3 Hours Max. Marks:7O
Inst,tttctions .' Section - A, B, C is commonto all.
Section D is applicable to the shtd.ents tatn haue taken admi.ssionfrom
2012-13 onutard"s.
SECTION - A
Answer any ten questions. Each question carries one mark. 1Ox1=1O
1. Define Kernel.
2. List the different parts of a unix system.
3. What is the use of echo command ?
4. What is PID ?
b. What are the different wildcards available in unix ?
6. What is a pipe ?
7. What is interrupt ?
8. Mention the different modes of Vi editor ?
9. Give the syntax of if statement.
10. What is the use of wall command ?
I
11. What is the use of Mesg Command ?
L2. What is mail command used for ?
P.T.O.
GS-651 2
I lllllll illlll il ]il ill ilt till
SECTION . B
Answer any five questions. Each question carries three marks. 5x3=15
13. Explain different types of files in Unix.
L4. Explain the use of > and >> operators in unix.
15. Explain process scheduling commands.
16. Explain the Ls command with different options.
L7. Explain unix system calls with example.
18. Explain any 3 different types of shell.
19. Write a shell program to find whether a given number is odd or even.
20. Explain any three super-user privileges.
SECTION - C
Answer any five questions. Each question carries seven marks. 5x7=35
2L. Explain with a neat diagram the unix system architecture.
22. Explain salient features of unix O.S.
23. Explain the different blocks in a file system.
24. What is a Filter ? Explain the filter commands with example.
25. Explain compression and decompressing technique in unix.
26. What is a process ? Explain different states of process.
27. What is control statement ? Explain case-esac statement with syntax.
24. Write a shell script to find the factorial of a number.
3 GS-651
Iffiililfltiltillltililil]llll
. SECTION . D
Answer any one question. Each question carries ten marks. 1x1O=1O
29. Explain role of System Administrator.
trxplain the following commands with syntax :
(a) tar
(b) wa1l
(c) chmod
(d) nice
(e) batch
-oOo-