Exam Details

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


Question Paper

DISTANCE EDUCATION
B.Sc. DEGREE EXAMINATION, MAY 2018.
C AND DATA STRUCTURES LAB
(2007 Onwards)
Time Three hours Maximum 100 marks
ONE question is given to each candidate by lot system
Each question has two subdivisions.
1. Write a C program to calculate Simple Interest.
Write a C program to sort a set of elements using
Insertion sort.
2. Write a C program to find the biggest of
5 Nos. Modify the program to find the biggest of
10 Nos.
Write a C program to implement push and pop
operations on stack.
Sub. Code
16
DE-7020
2
Sp 1
3. Write a C program to convert a given number into
words for numbers 1 to 5. Ex.1 to ONE,2 to TWO
and 5 TO FIVE.
Write a C program for linked list implementation of
Queue operations.
4. Write a C program to input a basic pay and
calculate Gross pay and Net pay
Income:
HRA 15% OF BASICPAY
DA 90% OF BASICPAY
GROSSPAY BASICPAY+DA+HRA
Deduction:
PF 10% OF BASICPAY
WCHARGE 200
DEDUCTIONS PF WCHARGE
NETPAY GROSSPAY DEDUCTIONS.
Write a C program to find the factorial of a given
number using FUNCTION declaration.
5. Write a C program to input a temperature in
Celsius and find the corresponding temperature in
Fahrenheit. Use the formula f C 32 .
Write a C program to evaluate the given
mathematical expression using stack.
DE-7020
3
Sp 1
6. Write a C program that receives the data such as
age and name of persion to check the eligibility for
voting. Take the condition that if a person is more
than 18 years old he is eligible to vote. Each display
the number of years, he has to wait for voting.
Write a C program to concatenate two given strings
and find the length of the concadinate string.
7. Write a C program to compute commission earned
by a salesman according to the scheme given below:
Sales amount Commission%
Upto Rs. 1,000 0
Above 1000 upto 5000 5
Above 5000 10
Write a C program to find simple Compound
interest using FUNCTION declaration.
8. Write a C program to add two numbers.
Define Selection sort write a C program to sort a set
of element using selection sort.



Subjects

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