0% found this document useful (0 votes)
110 views6 pages

Reg. No.: Q.P. Code: (16 SC 03/16 CA 03/ 16 IT 03/16 CTG 03/ 16 SS 03/16 MM 03)

This document is part of a B.Sc./B.C.A. degree exam covering Linux and Shell Programming. It contains three sections - Section A with 10 multiple choice questions worth 1 mark each, Section B with 5 questions worth 5 marks each, and Section C with 5 questions worth 8 marks each. The questions cover topics like Linux architecture, configuration files, commands, shell scripting, and more. The exam is worth a total of 75 marks and tests students' knowledge of Linux and shell programming concepts and skills.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
110 views6 pages

Reg. No.: Q.P. Code: (16 SC 03/16 CA 03/ 16 IT 03/16 CTG 03/ 16 SS 03/16 MM 03)

This document is part of a B.Sc./B.C.A. degree exam covering Linux and Shell Programming. It contains three sections - Section A with 10 multiple choice questions worth 1 mark each, Section B with 5 questions worth 5 marks each, and Section C with 5 questions worth 8 marks each. The questions cover topics like Linux architecture, configuration files, commands, shell scripting, and more. The exam is worth a total of 75 marks and tests students' knowledge of Linux and shell programming concepts and skills.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Reg. No. : ........................................

6123 Q.P. Code : [16 SC 03/16 CA 03/


16 IT 03/16 CTG 03/
16 SS 03/16 MM 03]

(For the candidates admitted from 2016 onwards)

B.Sc./B.C.A. DEGREE EXAMINATION, APRIL 2021.

Fourth Semester

Part III — Computer Science/Computer


Applications/Information Technology/Computer
Technology/Software Systems/Multimedia and
Web Technology

LINUX AND SHELL PROGRAMMING

Time : Three hours Maximum : 75 marks


SECTION A — (10 × 1 = 10 marks)
Answer ALL questions.

Choose the correct answer :

1. What is the other name of new shell?

(a) Child shell (b) Junior shell

(c) Baby shell (d) Sub shell


2. What was the first version of Linux?
(a) 1.0 (b) 0.10
(c) 0.11 (d) 1.01

3. Executable of binary files will be


(a) Special files
(b) Regular files
(c) System files
(d) Device files

4. Host specific configuration files are installed in


(a) /root directory
(b) /lib directory
(c) /bin directory
(d) /etc directory

5. Which one of the following command is invalid?


(a) 3d (b) 20h
(c) 4k (d) 5l

6. The expression cut -c –3 emp.1st will cut columns


number
(a) 3 (b) 1
(c) 1-3 (d) 0-2
2 6123
7. A variable can be removed using
(a) readonly (b) bash

(c) del (d) unset

8. How many types of permissions a file has in


UNIX?

(a) 7 (b) 2

(c) 3 (d) 4

9. To perform decision depending on the fulfillment


of certain criteria, ——————— is used.

(a) for (b) while

(c) else (d) if…else…

10. Which of the following operator is not supported in


Bourne shell?

(a) Character operators

(b) Boolean operators

(c) File test operators

(d) Arithmetic operators

3 6123
SECTION B — (5 × 5 = 25 marks)

Answer ALL questions.

11. (a) What is root in Linux?


Or

(b) How swap space is maintained?

12. (a) Explain about different access mode codes.


Or

(b) What is file mask?

13. (a) Brief about the two modes of a vi editor.


Or

(b) List and explain the command that switch


the vi editor to insert mode.

14. (a) How are user spaces secured in Linux?


Or

(b) Explain about system variables with


example.

15. (a) What is conditional execution in Linux?


Or

(b) How is break command used?

4 6123
SECTION C — (5 × 8 = 40 marks)

Answer ALL questions.

16. (a) What is open source software? Explain how


is aids in education filed?
Or

(b) With diagram, explain the architecture of the


Linux operating system.

17. (a) Describe about most common configuration


files in Linux.
Or

(b) List and explain the various file listing


commands used in Linux.

18. (a) Discuss the various commands used to delete


the character(s) from the current cursor
position in vi editor.
Or

(b) Explain about different file filters used in


Linux.

19. (a) Compare mv, cp and rm commands with


example.
Or

(b) Discuss how command substitution works in


Linux with example.
5 6123
20. (a) Write a shell script to display the factorial of
a number.
Or

(b) Explain about the usage of multi way


decision making structure with example.

——————

6 6123

You might also like