Exam Details
Subject | linux and shell programming | |
Paper | ||
Exam / Course | b.c.a | |
Department | ||
Organization | solapur university | |
Position | ||
Exam Date | December, 2018 | |
City, State | maharashtra, solapur |
Question Paper
B.C.A. (Semester (CGPA) Examination Nov/Dec-2018
LINUX AND SHELL PROGRAMMING
Time: 2½ Hours Max. Marks: 70
Instructions: Q.1 and Q.7 are compulsory.
Attempt any two questions from Q. 2 to Q. 4.
Attempt any one questions from Q.5 and Q.6.
Q.1 Choose the correct alternatives: 14
In what file can you specify which users are not allowed to access a system
via FTP?
/etc/ftpusers /etc/hosts.deny
/etc/ftpaccess All of the above
The location for subdirectories for local programs and executables for user
and administrative commands is in directories.
/temp /usr
/opt /mnt
Case statement ends
end end case
esac None of these
The command "chmod 532 computer" is equivalent to
chmod g o 2 computer
chmod a=532 computer
chmod o=w computer
chmod ugo=532 computer
You need to change some settings on your Apache server. Which is the best
tool to use for logging in remotely?
rsh ssh
rlogin telnet
How would you avoid accidentally removing files?
rm rm -chk
rm rm
What is the purpose of the operator?
Used to send the output of one command becomes the input of a second
command.
Used to send both input and output to the same file.
Used to overwrite the contents of a file.
Used to append data to a file without overwriting it.
Which of the following below are true functionalities of shell?
Authenticates user
Interprets commands
Allocates time and memory to programs
Only a and b
Which one of the following is used to replace a single character in "vi"?
O x
r N
Page 2 of 2
SLR-CH-9
10) Which of the following is not a valid file type on Linux
Socket Soft link
Inode FIFO
11) To create a group use command.
Addgroup Groupadd
Create group None of the above
12) Which of the following is generally regarded as the standard GUI for Linux?
Red Hat Desktop CDE
GNOME Star Office
13) Which type of security provide by Linux?
Login password File permission
File encryption All of these
14) Wild character is used for matching
One or more Zero or more
One None of the above
Q.2 What is Operating System? Explain Linux OS Structure. 05
How to create archive or tar file in Linux? 05
Explain the different types of Shell. 04
Q.3 Explain Output of following command. 05
ls lpr
cut bca sort uniq
find -size 10 -print
tail -c14 bca
cut 2,7 bca
What is shell script? Give its Advantages. 05
Write a short note DHCP. 04
Q.4 Explain the Linux distributions. 05
Explain different boot loaders. 05
Give the use and example of following commands. 04
Iprm
ping
Q.5 Write a shell script to check entered number is Armstrong or not. 07
Explain the job control facilities in Linux. Write the commands for each facility. 07
Q.6 Write a menu driven shell Script 07
To Sort a file by 5 field with 2 column
To assign the Write Read permission to a owner, add execute to all
To remove directory with its subdirectories.
Find files from current directory by inode number.
What are the three mode of vi editor and briefly describe Exit mode. 07
Q.7 Write short notes on (any two) 14
Role of system administrator
Mounting and Unmounting Hard drive device
Group management commands
LINUX AND SHELL PROGRAMMING
Time: 2½ Hours Max. Marks: 70
Instructions: Q.1 and Q.7 are compulsory.
Attempt any two questions from Q. 2 to Q. 4.
Attempt any one questions from Q.5 and Q.6.
Q.1 Choose the correct alternatives: 14
In what file can you specify which users are not allowed to access a system
via FTP?
/etc/ftpusers /etc/hosts.deny
/etc/ftpaccess All of the above
The location for subdirectories for local programs and executables for user
and administrative commands is in directories.
/temp /usr
/opt /mnt
Case statement ends
end end case
esac None of these
The command "chmod 532 computer" is equivalent to
chmod g o 2 computer
chmod a=532 computer
chmod o=w computer
chmod ugo=532 computer
You need to change some settings on your Apache server. Which is the best
tool to use for logging in remotely?
rsh ssh
rlogin telnet
How would you avoid accidentally removing files?
rm rm -chk
rm rm
What is the purpose of the operator?
Used to send the output of one command becomes the input of a second
command.
Used to send both input and output to the same file.
Used to overwrite the contents of a file.
Used to append data to a file without overwriting it.
Which of the following below are true functionalities of shell?
Authenticates user
Interprets commands
Allocates time and memory to programs
Only a and b
Which one of the following is used to replace a single character in "vi"?
O x
r N
Page 2 of 2
SLR-CH-9
10) Which of the following is not a valid file type on Linux
Socket Soft link
Inode FIFO
11) To create a group use command.
Addgroup Groupadd
Create group None of the above
12) Which of the following is generally regarded as the standard GUI for Linux?
Red Hat Desktop CDE
GNOME Star Office
13) Which type of security provide by Linux?
Login password File permission
File encryption All of these
14) Wild character is used for matching
One or more Zero or more
One None of the above
Q.2 What is Operating System? Explain Linux OS Structure. 05
How to create archive or tar file in Linux? 05
Explain the different types of Shell. 04
Q.3 Explain Output of following command. 05
ls lpr
cut bca sort uniq
find -size 10 -print
tail -c14 bca
cut 2,7 bca
What is shell script? Give its Advantages. 05
Write a short note DHCP. 04
Q.4 Explain the Linux distributions. 05
Explain different boot loaders. 05
Give the use and example of following commands. 04
Iprm
ping
Q.5 Write a shell script to check entered number is Armstrong or not. 07
Explain the job control facilities in Linux. Write the commands for each facility. 07
Q.6 Write a menu driven shell Script 07
To Sort a file by 5 field with 2 column
To assign the Write Read permission to a owner, add execute to all
To remove directory with its subdirectories.
Find files from current directory by inode number.
What are the three mode of vi editor and briefly describe Exit mode. 07
Q.7 Write short notes on (any two) 14
Role of system administrator
Mounting and Unmounting Hard drive device
Group management commands
Other Question Papers
Subjects
- advance programming in c
- advanced java – i
- advanced java – ii
- advanced programming in ‘c’
- advanced web technology
- basics of ‘c’ programming
- business communication
- business statistics
- communication skills
- computer graphics
- computer oriented statistics
- core java
- cyber laws and security control
- data structure using ‘c’
- data structures using ‘c’
- data warehouse and data mining
- database management system
- dbms with oracle
- development of human skills
- digital electronics
- discrete mathematics
- e-commerce
- e-governance
- financial accounting with tally
- financial management
- fundamentals of computer
- fundamentals of financial accounting
- introduction to data mining & warehousing
- introduction to information technology
- linux and shell programming
- management information system
- networking & data communication
- networking and data communication
- object oriented programming with c++
- oop with c++
- operating system
- operations research
- operting system
- procedural programming through ‘c’
- python
- rdbms with oracle
- software engineering
- software project management
- software testing
- theory of computation
- visual programming
- web technology
- web technology – ii
- web technology – iii