Exam Details

Subject lab-i (c and data structures)
Paper
Exam / Course b.sc.computer science
Department
Organization Alagappa University Distance Education
Position
Exam Date May, 2018
City, State tamil nadu, karaikudi


Question Paper

DISTANCE EDUCATION
B.Sc. (Computer Science) DEGREE EXAMINATION,
MAY 2018.
LAB-I AND DATA STRUCTURES)
(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 find square root, square and
cube of any number.
Write a C program to implement push and pop
operations on stack.
2. 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 implement insert and queue
operations on Queue using array concept.
Sub. Code
16
Cut here
DE-7015
2
Sp 2
3. Write a C program to calculate Simple and
Compound interest.
Write a C program to sort the given set of numbers
using selection sort.
4. 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 evaluate the given
mathematical expression using stack.
5. 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 find an elements using linear
search.
Cut here
Cut here
DE-7015
3
Sp 2
6. 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 find an elements using binary
search.
7. 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 sort the given set of numbers
using Insertion sort.
8. Write a C program to input a temperature in
Celsius and the find the corresponding temperature
in Fahrenheit.
Write a C program to implement push and pop
operations on stack.



Other Question Papers

Subjects

  • data structures using ‘c’
  • digital computer fundamentals
  • lab-i (c and data structures)