Exam Details
Subject | lab i — data structures using c | |
Paper | ||
Exam / Course | p.g.d.c.a.(s) | |
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.
First Semester
LAB — I DATA STRUCTURES USING C
(2011 Calendar year)
Time Three hours Maximum 100 marks
Examiner should select and give ONE question to each
candidate by LOT system.
Each subdivision carries 50 marks.
1. Write a C program to copy the contents of one file to
another.
Write a menu driven program to find the given
element in an array using linear binary search.
2. Write a C program to find a word is palindrome or
not.
Write a C program for linked list implementation of
queue operations.
Cut here
Sub. Code
15
DE-9501
2
Ws2
3. Write a C program to find the roots of a quadratic
equation ax2 bx c using function definition.
Write a C program to implement push and POP
operations on stack.
4. A man is paid at the hourly rate of Rs. 15 per hour
for the first 45 hours worked. There after, over time
is paid at 1.5 times the hourly rate for the next 25
hours and 2 times the hourly rate for further hours
worked. Write a C program to input the number of
hours worked per week, calculate and print his
gross weekly wage.
Write a C program to evaluate the given
mathematical expression using stack.
5. Write a C program to read 10 values to an array
variable. Use pointers to locate and display each
value.
Write a C program to implement insert and delete
operations on queue using array concept.
6. Write a C program for matrix manipulation using
function. (Addition, subtraction and Multiplication).
Write a C program to sort 10 numbers in ascending
order with naming of variable and the value before
and after sorting.
P.G.D.C.A. EXAMINATION, MAY 2017.
First Semester
LAB — I DATA STRUCTURES USING C
(2011 Calendar year)
Time Three hours Maximum 100 marks
Examiner should select and give ONE question to each
candidate by LOT system.
Each subdivision carries 50 marks.
1. Write a C program to copy the contents of one file to
another.
Write a menu driven program to find the given
element in an array using linear binary search.
2. Write a C program to find a word is palindrome or
not.
Write a C program for linked list implementation of
queue operations.
Cut here
Sub. Code
15
DE-9501
2
Ws2
3. Write a C program to find the roots of a quadratic
equation ax2 bx c using function definition.
Write a C program to implement push and POP
operations on stack.
4. A man is paid at the hourly rate of Rs. 15 per hour
for the first 45 hours worked. There after, over time
is paid at 1.5 times the hourly rate for the next 25
hours and 2 times the hourly rate for further hours
worked. Write a C program to input the number of
hours worked per week, calculate and print his
gross weekly wage.
Write a C program to evaluate the given
mathematical expression using stack.
5. Write a C program to read 10 values to an array
variable. Use pointers to locate and display each
value.
Write a C program to implement insert and delete
operations on queue using array concept.
6. Write a C program for matrix manipulation using
function. (Addition, subtraction and Multiplication).
Write a C program to sort 10 numbers in ascending
order with naming of variable and the value before
and after sorting.
Other Question Papers
Subjects
- computer lab iv (unix and shell programming)
- lab i — data structures using c
- lab ii — relational database management systems
- lab iii — graphics using c++