Exam Details

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


Question Paper

B.C.A. (Semester (CBCS) Examination Nov/Dec-2018
LINUX SHELL PROGRAMMING
Time: 2½ Hours Max. Marks: 70
Instructions: All questions are compulsory.
Figures to the right place indicate full marks.
Q.1 Choose correct alternatives: 14
Which of the following command output contains userid?
is help
date is-1
Which command reads user input from the terminal and assign this value to a
variable name?
read get
declare set
How many links are created when we create a directory file?
1 2
3 4
Which command is used to view compressed text file contents?
cat type
zcat print
The following commands gives the output like this
$cat file1 file2
file1: No such file or directory
hello
If we execute the command "cat file1 file2 1>2 the output would be
cat: file1: No such file or directory hello
No output is displayed
Cat: No such file or directory
hello
Which option of the kill command sends the given signal name to the
specified process?


Which command is used to set terminal I/O characteristics?
tty stty
ctty ptty
In Vi-editor character moves the cursor one character to the right.
l n
b w
Which variable contains last background job process id?


Page 2 of 2
SLR-SH-24
10) Octal representation of rw- rw permission are
644 646
626 654
11) In ls option used to list all the hidden files along with the other file.


12) symbol matches all character in file name.


13) Which types of security provide by Linux?
Login password File permission
File encryption All of these
14) Which option is used rmdir command will remove all directories?


Q.2 Answer any Four of the following:- 08
Explain cat command.
Explain chgrp and chown command.
Explain kill and join command.
Explain mounting command.
Explain printing files.
Write notes on any two: 06
Explain boot loader.
Explain history of Linux operating system.
Explain file compression in detail.
Q.3 Answer any two of the following: 08
Write note on X-window.
Explain find, cp, mv, rm, command.
Explain pipe command.
Answer any one of the following: 06
Write a program to display given number is Armstrong or not.
Write a program to display give number is prime or not.
Q.4 Answer any two of the following:- 10
What is shell? Explain it's types.
What is file? Explain it's types.
Explain listing a file.
Answer any one of the following: 04
Explain chmod command.
Explain pipe command.
Q.5 Answer any two of the following:- 14
What is Redirection? Explain it's types.
Explain Simple Filters.
Explain vi-editor


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