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, 2017 | |
City, State | tamil nadu, karaikudi |
Question Paper
DISTANCE EDUCATION
B.Sc. (Computer Science) DEGREE EXAMINATION,
MAY 2017.
Lab I C AND DATA STRUCTURES
(2007 onwards)
Time Three hours Maximum 100 marks
Examiner has to select ONE question and give it to the
students by LOT system.
Answer both subdivisions and
1. 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.
2. Write a C program to find the factorial of the given
number using FUNCTION declaration.
Write a C program to sort 10 numbers in ascending
order with the naming of variable and the value
before and after sorting.
Cut here
Cut here
Sub. Code
16
DE-9515
2
Ws9
3. Write a C program to convert a given number into
words for numbers from 1 to 5. Ex.1 to ONE, 2 to
TWO and 5 to FIVE.
Write a C program to implement insert and delete
operations on queue using array concept.
4. A man is paid at the hourly rate of Rs. per hour
for the first 45 hours worked. Thereafter, overtime
is paid at 1.5 times the hourly rate for the next
25 hours and 2 times the hourly rate for further
hours worked per week, calculate and print his
gross weekly wage.
Write a C program to implement push and pop
operations on stack.
5. 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 a set of elements using
Selection Sort.
B.Sc. (Computer Science) DEGREE EXAMINATION,
MAY 2017.
Lab I C AND DATA STRUCTURES
(2007 onwards)
Time Three hours Maximum 100 marks
Examiner has to select ONE question and give it to the
students by LOT system.
Answer both subdivisions and
1. 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.
2. Write a C program to find the factorial of the given
number using FUNCTION declaration.
Write a C program to sort 10 numbers in ascending
order with the naming of variable and the value
before and after sorting.
Cut here
Cut here
Sub. Code
16
DE-9515
2
Ws9
3. Write a C program to convert a given number into
words for numbers from 1 to 5. Ex.1 to ONE, 2 to
TWO and 5 to FIVE.
Write a C program to implement insert and delete
operations on queue using array concept.
4. A man is paid at the hourly rate of Rs. per hour
for the first 45 hours worked. Thereafter, overtime
is paid at 1.5 times the hourly rate for the next
25 hours and 2 times the hourly rate for further
hours worked per week, calculate and print his
gross weekly wage.
Write a C program to implement push and pop
operations on stack.
5. 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 a set of elements using
Selection Sort.
Other Question Papers
Subjects
- data structures using ‘c’
- digital computer fundamentals
- lab-i (c and data structures)