Exam Details
Subject | unix and shell programming | |
Paper | ||
Exam / Course | p.g.d.c.a. | |
Department | ||
Organization | Alagappa University Distance Education | |
Position | ||
Exam Date | May, 2016 | |
City, State | tamil nadu, karaikudi |
Question Paper
DISTANCE EDUCATION
PGDCA.(S) EXAMINATION, MAY 2016.
Second Semester
LAB IV UNIX AND SHELL PROGRAMMING
(2011 calendar year onwards)
Time Three hours Maximum 100 marks
ONE question should be selected by the examiner and
given to the candidates by lot system.
1. Write a menu Driven shell program for the
following
List of Files
Processors of users
Today's data
Users of system
Quit to UNIX
Write a shell program which periodically monitors
the disk for the existence of a file and then executes
the program once the file has been located.(Using
UNTIL statement)
Sub. Code
26
DE-9158
2
WS18
2. Write a shell program which accepts the name of a
file from the standard input and then performs the
following tests on it.
File existence
File readable
File writable
Both readable and writable
Write a shell program which accepts the name of a
file from the standard input and then perform the
following tests on it:
Enter the five names in a file
Sort the names in existing file
List unsorted and sorted file
Quit.
3. Write a shell program using three arguments to
take the pattern as well as input and output file
names. If the pattern is found, display "pattern
Found" else display "Error message" Also check if
right number of arguments are entered.
Write a program for Four-function calculator by
using yacc command.
Cut here
DE-9158
3
WS18
4. Write a menu Driven shell program to copy, edit,
rename, delete a file.
A hospital maintains patient details. Write a shell
program to list the following.
Patients in a blood groupwise.
Patients in age between 20 to 30.
Exit.
5. Write a menu driven shell program to perform the
following tasks.
Enter the sentence in a file
Search a given whole word in an existing file.
Quit.
Write and execute a shell program to generated
leave status report of an organisation.
PGDCA.(S) EXAMINATION, MAY 2016.
Second Semester
LAB IV UNIX AND SHELL PROGRAMMING
(2011 calendar year onwards)
Time Three hours Maximum 100 marks
ONE question should be selected by the examiner and
given to the candidates by lot system.
1. Write a menu Driven shell program for the
following
List of Files
Processors of users
Today's data
Users of system
Quit to UNIX
Write a shell program which periodically monitors
the disk for the existence of a file and then executes
the program once the file has been located.(Using
UNTIL statement)
Sub. Code
26
DE-9158
2
WS18
2. Write a shell program which accepts the name of a
file from the standard input and then performs the
following tests on it.
File existence
File readable
File writable
Both readable and writable
Write a shell program which accepts the name of a
file from the standard input and then perform the
following tests on it:
Enter the five names in a file
Sort the names in existing file
List unsorted and sorted file
Quit.
3. Write a shell program using three arguments to
take the pattern as well as input and output file
names. If the pattern is found, display "pattern
Found" else display "Error message" Also check if
right number of arguments are entered.
Write a program for Four-function calculator by
using yacc command.
Cut here
DE-9158
3
WS18
4. Write a menu Driven shell program to copy, edit,
rename, delete a file.
A hospital maintains patient details. Write a shell
program to list the following.
Patients in a blood groupwise.
Patients in age between 20 to 30.
Exit.
5. Write a menu driven shell program to perform the
following tasks.
Enter the sentence in a file
Search a given whole word in an existing file.
Quit.
Write and execute a shell program to generated
leave status report of an organisation.
Other Question Papers
Subjects
- c and data structures
- communication skills
- computer graphics
- digital computer organization
- object oriented programming and c++
- operating system
- relational database management systems
- unix and shell programming