Exam Details

Subject linux and shell programming
Paper
Exam / Course b.c.a
Department
Organization solapur university
Position
Exam Date April, 2017
City, State maharashtra, solapur


Question Paper

B.C.A. (Semester (CGPA) Examination, 2017
LINUX SHELL PROGRAMMING
Day Date: Monday, 17-04-2017 Max. Marks: 70
Time: 10.30 AM to 01.00 PM
N.B. Q.1 and Q.7 are compulsory.
Attempt any two questions from Q. 3 and 4.
Attempt any one question from Q. 5 and 6.
Figures to the right indicate full marks.
Q.1 Choose correct alternatives: 14
Shell Script cannot run in the background.
True False
Which symbol will be used with grep command to match the
pattern pat at the end of a line?
^pat $pat pat$ >pat
Find out inode number of a file, option used in
command.
-inum -inode -in
The /etc/pass wd file doesn't contain
User id home directory for a user
login shell name None of the above
Which option is used with cmp command to give a detailed
list of the byte number and the differing bytes in octal for
each character that differs in both the files?
-bc
Linux has a /proc directory which shows the current state of
kernel.
True False
is used with vi editor to move backward to
beginning of a word.
w s b e
Which is true statement of following about Linux?
Shell is known as command interpreter
Kernel is heart of Linux
Linux use filesystem
All of these
Which of the following commands is used to have a two-way
communication with any person who is currently logged in?
mail mesg write None of these
Page 1 of 2
SLR-U 24
10) The command 'chmod 761 file' is equivalent to
chmod o=1 file chmod a=761 file
chmod ugo=761 file chmod u=rwx, o=x file
11) Which is the correct way to use the nice command?
Nice 5ps nice 5 ps
nice ps none of the above
12) tool is used to partition your hard drive.
mkfs fdisk fsck mount
13) Which of the following is the main Apache Configuration file?
/etc/apache.conf /etc/httpd/config
/etc/acf.conf /etc/httpd/conf/httpd/conf
14) What command is used to list the jobs currently in print
queues?
lpq lpr lprm lprq
Q.2 Explain the architecture of Linux operating system. 05
Explain any five types of files in Linux operating system. 05
Write a note on Insert mode. 04
Q.3 What is Redirection? Explain I/O Redirection with example. 05
How to create and extract files from archive files? 05
Differentiate between Hard-link Soft-link. 04
Q.4 Explain chown and chgrp with suitable example. 05
Give the use and example of following commands.
uniq cat ping
05
Write a note on mysql configuration. 04
Q.5 Write a shell script to calculate to calculate simple interest. 07
What does the command "grep"? What are the various options
with example?
07
Q.6 Explain the job control facilities in Linux and write the commands
for each facility.
07
Explain the output of following commands: 07
sort 5 emp uniq
chmod g=r file
Cut 4-6 file file 1
Is
cat bca
cp stud stud1
find /home -type d -name backup -print
Q.7 Write short notes on the following (Any two) 14
FTP
Types of Linux Partition
Hierarchy of File System


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