B.E / B.
Tech PRACTICAL END SEMESTER EXAMINATIONS, APRIL/MAY 2024
Third Semester
CS3362-C PROGRAMMIG AND DATA STRUCTURES LABORATORY
(Regulations 2021)
Time: 3 Hours Answer any one Question Max. Marks 100
Aim &Algorithm Program Results Viva-Voce Record Total
20 40 20 10 10 100
1. Develop and execute a C program to find the given number is positive or negative
2. Write a C program to find Factorial of a given number using recursive function
3. Develop and execute a C program using Function and Array
4. Write a C program to find sum of natural numbers
5. Write and execute a C program using Pointer and Structures
6. Develop and execute a C program to create a file and write data into file.
7. Write a C program to develop a real time application.
8. Write a C program to implementation of the following various operations for Queue ADT using
array implementation
(i)insert (ii) Delete (iii) Display
Write a C program to construct a Binary tree and display the nodes using in order , pre order and
9. post order traversals.
Write a C program for Insertion operation in a binary tree
10
11 Write a C program to check whether the given number is in the list using Linear search.
12 Write a C program to check whether the given number is in the list using binary search
[ 2,3,5,8,21,33,42,99]
13 Write a C program to arrange the list of numbers in Ascending order using Insertion sort
[12,90,35,81,16]
14 Write a C program to arrange the list of numbers in Ascending order using Quick Sort
[40,20,70,14,60,61,9,30]
15 Write a C program to arrange the list of numbers in Ascending order using Merge Sort
[70,20,30,40,10,50,60]
16 Write a C program to implementation of the following various operations for Stack ADT using
array implementation
(i)Push (ii) Pop (iii) Display
INTERNAL EXAMINER EXTERNAL EXAMINER