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, 2017 | |
City, State | tamil nadu, karaikudi |
Question Paper
DISTANCE EDUCATION
P.G.D.C.A. EXAMINATION, MAY 2017.
Second Semester
LAB IV — UNIX AND SHELL PROGRAMMING
(2011 Calendar Year onwards)
Time Three hours Maximum 100 marks
ONE question should be selected and given to each candidate
from lot system.
1. Write a menu driven shell program to perform the
following tasks
Enter the sentence in a file
Search a given word in an existing file
Quit.
Write and execute a shell program to send mail to
groups of users by extracting their ids from
group file.
2. Write a menu driven program to copy, edit, rename
and delete a file.
Write and execute a shell program to generate leave
status report of an organization.
Sub. Code
26
Cut here
DE-9504
2
Ws 5
3. 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 names (five) in a file
Sort the names
List unsorted and sorted files
Quit.
Write and execute a shell program to print monthly
pay slips for employees in an organization. Assume
your own data and generate accordingly.
4. 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.
Write and execute a shell program to do the
following
Convert the given string in centre of given row
in bold, normal, reverse video
Search a given string using awk with various
options.
5. 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
else display message''. Also check if
right number of arguments are entered.
Write a program for four function calculator by
using yacc command.
Cut here
Cut here
DE-9504
3
Ws 5
6. Write a menu driven shell program for the following
List of files
Processes of users
Today's date
Users of system
Quit.
A hospital maintains patient details. Write a shell
program to list the following
Patients in a blood groupwise
Patients in age between 20 and 30
Quit.
P.G.D.C.A. EXAMINATION, MAY 2017.
Second Semester
LAB IV — UNIX AND SHELL PROGRAMMING
(2011 Calendar Year onwards)
Time Three hours Maximum 100 marks
ONE question should be selected and given to each candidate
from lot system.
1. Write a menu driven shell program to perform the
following tasks
Enter the sentence in a file
Search a given word in an existing file
Quit.
Write and execute a shell program to send mail to
groups of users by extracting their ids from
group file.
2. Write a menu driven program to copy, edit, rename
and delete a file.
Write and execute a shell program to generate leave
status report of an organization.
Sub. Code
26
Cut here
DE-9504
2
Ws 5
3. 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 names (five) in a file
Sort the names
List unsorted and sorted files
Quit.
Write and execute a shell program to print monthly
pay slips for employees in an organization. Assume
your own data and generate accordingly.
4. 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.
Write and execute a shell program to do the
following
Convert the given string in centre of given row
in bold, normal, reverse video
Search a given string using awk with various
options.
5. 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
else display message''. Also check if
right number of arguments are entered.
Write a program for four function calculator by
using yacc command.
Cut here
Cut here
DE-9504
3
Ws 5
6. Write a menu driven shell program for the following
List of files
Processes of users
Today's date
Users of system
Quit.
A hospital maintains patient details. Write a shell
program to list the following
Patients in a blood groupwise
Patients in age between 20 and 30
Quit.
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