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, 2017
City, State tamil nadu, karaikudi


Question Paper

DISTANCE EDUCATION
B.Sc. (Information Technology) DEGREE EXAMINATION,
MAY 2017.
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 and
Compound interest.
Write a C program to evaluate the given
mathematical expression using stack.
2. Write a C program to input a temperature in
Celsius and the find the corresponding temperature
in Fahrenheit. 9/5
Write a C program to implement insert and queue
operations on Queue using array concept.
3. Write a C program to convert a given number into
words for 1 to 5. Ex. 1 to ONE, 2 to TWO and 5 to
FIVE.
Write a C program to calculate Simple and
Compound interest using function declaration.
Cut here
Sub. Code
16
Cut here
DE-9520
2
Sp7
4. 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 Otherwise Write
a C program to do the above.
Write a C program to find the factorial of a given
number using function.
5. Write a C program to input a basic pay and
calculate Gross pay and Net pay.
INCOME
HRA 15% of BASICPAY
DA 75% of BASICPAY
GROSSPAY BASICPAY+DA+HRA
DEDUCTIONS
PF 10% of BASICPAY
WCHARGE 200
DEDUCTIONS PF+WCHARGE
NETPAY GROSSPAY+DEDUCTIONS
Write a C program to implement push and pop
operations on stack.
6. Write a C program to find the biggest of 5 numbers.
Modify the program to find the biggest of 10
numbers.
Write a C program to sort the given set of numbers
using Insertion sort.
Cut here
Cut here
DE-9520
3
Sp7
7. Write a C program to compute commission earned
by a salesman according to the scheme below
SALES AMOUNT COMMISSION(%)
Upto Rs. 1000 0
Above 1000 upto 5000 5
Above 5000 10
Write a C program to implement insert and delete
operations on Queue using array concept.
8. Write a C program to find square root, square and
cube of any number.
Write a C program to evaluate the given
mathematical expression using stack.


Subjects

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