Exam Details

Subject c and data structures – lab
Paper
Exam / Course b.sc. information technology
Department
Organization Alagappa University Distance Education
Position
Exam Date December, 2017
City, State tamil nadu, karaikudi


Question Paper

DISTANCE EDUCATION
B.Sc. (Information Technology) DEGREE EXAMINATION,
DECEMBER 2017.
C AND DATA STRUCTURES LAB
(2007 onwards)
Time Three hours Maximum 100 marks
ONE question should be given to each candidate by
LOT system.
1. Write a C program to find the biggest, next to
biggest, smallest and next to smallest in the given
set of numbers.
Write a C program for linked list implementation of
queue operations.
2. Write a C program that receives the data such as
age and name of person to check the eligibility for
voting. Take the condition that if a person is more
than 18 years old he is eligible to vote. Else display
the number of years he has to wait for voting.
Write a C program to implement insert and delete
operations on linked list structure.
Cut here
Sub. Code
16
DE-9819
2
WSS
3. Write a C program to compute commission earned
by a salesman according to the scheme given below
Upto Rs. 10,000
Above 10,000 upto 50,000 10%
Above 50,000 15%
Write a C program to implement PUSH and POP
operations on stack.
4. Write a C program to convert a given number into
words for numbers 1 to 10.
Example 1 to ONE 2 to TWO
Write a C program to concatenate two given strings
if the strings are palindrome, otherwise find the
length of each string.
5. Write a menu driven program in C to sort the given
sets of elements using selection and insertion sort.
Write a C program to find the factorial of a given
number using function declaration if the number is
positive.
6. Write a C program to sort 10 numbers in ascending
order with naming of variable and the value before
and after sorting.
Write a C program to implement insert and delete
operations an queue using array concept.
DE-9819
3
WSS
7. Write a menu driven program in C to find an
element using linear and binary search.
There are 10 students in a class. Their names and
marks in three different subjects are given. If a
student takes more than 40 marks in each subject,
then he is declared as PASS otherwise FAIL. Write
a C program to do the above.
8. Write a C program to print the nth fibonacci number
using function declaration.
Write a C program to implement the various
operations on queue.
————————


Subjects

  • c and data structures – lab
  • c and data structures using ‘c’
  • digital computer fundamentals