This document is an examination paper for the VI Semester B.C.A. course on Unix Shell Programming, conducted in May/June 2019. It consists of two sections: Section A with 10 short answer questions worth 2 marks each, and Section B with 5 detailed questions worth 10 marks each. Topics covered include Unix commands, process states, file systems, shell scripting, and specific commands like awk and tar.
This document is an examination paper for the VI Semester B.C.A. course on Unix Shell Programming, conducted in May/June 2019. It consists of two sections: Section A with 10 short answer questions worth 2 marks each, and Section B with 5 detailed questions worth 10 marks each. Topics covered include Unix commands, process states, file systems, shell scripting, and specific commands like awk and tar.
100668
No. of Printed Pages : 2 IAQ
GS-640
VI Semester B.C.A. Examination, May/June - 2019
COMPUTER SCIENCE
BCA 404 Unix Shell Programming
(F+R) (CBCS) (2015-16 and Onwards)
‘Time : 3 Hours Max. Marks : 70
Instructions to Candidates : Answer all the Sections.
SECTION - A
I, Answer any 10 questions. Each question carries 2 marks. 10x2=20
1. What is the use of who and nice ¢ommand ?
2. What do you mean by zombie process ?
3. Mention different modes of vi editor ?
4. What is the use of wall and mail command ?
5. What is the significance of expr command ?
6. “What are daemons ?
7. Write the syntax of while command.
8. Write the functions of cat command.
9. Mention different nodes
10. Mention different types of shell.
11, Write the uses of head and tail command .
12, What is distributed file system ?
P.T.O,Gs-640 2
MOI
SECTION - B
Il. Answer any 5 questions. Each question carries 10 marks. 5x10=50
13. (a) Explain unix architecture with a neat diagram, 545
(b) Explain df, du and ulimit commands.
14. (a) Explain different states of process. 5+5
(b) Explain different blocks in file system.
15. (a) What is filter? Explain any four filter commands with an example. 5+5
{b) Explain is command with different options.
16. (a) Write a note on awk programming. 5+5
(b) Explain positional parameters with an example.
17. (a) Describe branching control structures in shell programming with 5+5
example.
(0) Explain types of shell variables with example.
18. (a). Explain nohup command. 5+5
(b) Explain the following commands : 4
(i) pwd
(i) mk dir
(iii) cut
(iv) cat
() grep
19. (a) write a shell script to count the number of vowels in a given string. 5+5
{b) Write a shell script to check whether a given number is palindrome
or not.
20. (a) Describe tar command in Unix. 5+5
(b) Explain disk related commands.
-000-