Exam Details
Subject | linux and shell programming | |
Paper | ||
Exam / Course | b.c.a | |
Department | ||
Organization | solapur university | |
Position | ||
Exam Date | 17, April, 2017 | |
City, State | maharashtra, solapur |
Question Paper
B.C.A. (Semester Examination, 2017
LINUX AND SHELL PROGRAMMING
Day Date: Monday, 17-04-2017 Max. Marks: 80
Time: 10.30 AM to 01.30 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: 16
Which among the following component directly interacts
with system hardware?
Shell Commands Kernel Applications
Which command is used to copy all files having the string
chap and any two characters after that to the progs
directory?
cp chap Progs cp chap* progs
cp chap cp chap
Which command is used to display all the files including
hidden files in your current and its subdirectories?
Is-aR Is-a Is-R Is-l
Which of the following commands will allow the user to
search contents of a file for a particular pattern?
touch grep find Is
Which command gives the first byte where the difference
is in the file 1 file
diff comm cmp Is-c
The printer is found in the directory.
/etc /dev /lib /printer
is used with vi editor to replace text
from cursor to right.
S s R r
In Linux everything stored as a
file directory
executables None of the above
Which file contains the file systems to be automatically
mounted during boot?
/etc/mount /etc/fstab
/etc/inittab /etc/boot
10) What command is used with file named 'letter' to remove
the executable permission from the user and assign read
permission to the group and others?
chmod go u x letter chmod g uo r letter
chmod go u x letter chmod u go r letter
11) The wild card character which matches a string of
characters is
12) is used to check and repair Linux file systems.
mkfs fdisk fsck mount
13) Which file contains the name servers to be used by the
local machine for hostname resolution?
/etc/services/ /etc/hosts
/etc/resolv.conf /etc/network/interface
14) Which operator is used in shell script for greater than or
equal?
-ge gte >gte
15) Which of the following command is used to access the
network in unsecured way?
ssh telnet tail grep
16) File Manager is supported by
GNOME KDE
Both a and b None
Q.2 Explain the procedure to create the partitions of Linux. 06
Explain foreground and background jobs with its advantages. 06
Write a note on ex mode. 04
Q.3 Explain find command with suitable example. 06
How to create and extract files from archive files. 06
What is shell? Explain different types of shell. 04
Q.4 Differentiate chown and chgrp with suitable example. 06
Give the syntax and example of following commands.
cp rm mv
06
Write a note on x-window system. 04
Q.5 Write a shell script to display prime numbers from 500 to 1000. 08
Explain the term: LVM rsh ping 08
Q.6 What is the architecture Linux? Explain different features of
Linux Operating System.
08
Write a menu driver shell script to do the following operations.
create hard link a file from bca file
To Remove a Write Read permission of a owner
To display non repeated records from file bca
To cp a file
08
Q.7 Write short notes on the following (Any four) 16
GNOME
Super Block
lpr and lpq command
LDAP
GRUB
LINUX AND SHELL PROGRAMMING
Day Date: Monday, 17-04-2017 Max. Marks: 80
Time: 10.30 AM to 01.30 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: 16
Which among the following component directly interacts
with system hardware?
Shell Commands Kernel Applications
Which command is used to copy all files having the string
chap and any two characters after that to the progs
directory?
cp chap Progs cp chap* progs
cp chap cp chap
Which command is used to display all the files including
hidden files in your current and its subdirectories?
Is-aR Is-a Is-R Is-l
Which of the following commands will allow the user to
search contents of a file for a particular pattern?
touch grep find Is
Which command gives the first byte where the difference
is in the file 1 file
diff comm cmp Is-c
The printer is found in the directory.
/etc /dev /lib /printer
is used with vi editor to replace text
from cursor to right.
S s R r
In Linux everything stored as a
file directory
executables None of the above
Which file contains the file systems to be automatically
mounted during boot?
/etc/mount /etc/fstab
/etc/inittab /etc/boot
10) What command is used with file named 'letter' to remove
the executable permission from the user and assign read
permission to the group and others?
chmod go u x letter chmod g uo r letter
chmod go u x letter chmod u go r letter
11) The wild card character which matches a string of
characters is
12) is used to check and repair Linux file systems.
mkfs fdisk fsck mount
13) Which file contains the name servers to be used by the
local machine for hostname resolution?
/etc/services/ /etc/hosts
/etc/resolv.conf /etc/network/interface
14) Which operator is used in shell script for greater than or
equal?
-ge gte >gte
15) Which of the following command is used to access the
network in unsecured way?
ssh telnet tail grep
16) File Manager is supported by
GNOME KDE
Both a and b None
Q.2 Explain the procedure to create the partitions of Linux. 06
Explain foreground and background jobs with its advantages. 06
Write a note on ex mode. 04
Q.3 Explain find command with suitable example. 06
How to create and extract files from archive files. 06
What is shell? Explain different types of shell. 04
Q.4 Differentiate chown and chgrp with suitable example. 06
Give the syntax and example of following commands.
cp rm mv
06
Write a note on x-window system. 04
Q.5 Write a shell script to display prime numbers from 500 to 1000. 08
Explain the term: LVM rsh ping 08
Q.6 What is the architecture Linux? Explain different features of
Linux Operating System.
08
Write a menu driver shell script to do the following operations.
create hard link a file from bca file
To Remove a Write Read permission of a owner
To display non repeated records from file bca
To cp a file
08
Q.7 Write short notes on the following (Any four) 16
GNOME
Super Block
lpr and lpq command
LDAP
GRUB
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