CS 3353 C Programming and Data Structure QB
CS 3353 C Programming and Data Structure QB
QUESTION BANK
CS3353 – C PROGRAMMING AND DATA STRUCTURES
Year/Sem : II / III Faculty:Mr.Athirayan.S
Printf(“if “);
Else if (x==0.1f)
Printf (“else if”);
Else
printf(“else”);
} (Nov/dec-21)
PART-B
1 Explain binary searching(May-16)
2 Write a C program to search a number with a given set of number using binary
search(May-17)
3 Distinguish between linear search and binary search, state and explain the
algorithm for both search with example(Dec-18)
4 Write a algorithm for binary search with suitable example(Dec-19)
5 .Explain in detail about insertion sort(May-19)
6 Write a routine for insertion sort ,sort the following sequence using insertion sort
3,10,4,2,8.6.5.1(May-19)
7 Explain heap sort with example(Dec-7,8,9,10,11,12,May-10,11,12)
8 Sort the flowing numbers using merge sort algorithm 11,8,55,22,33,27,62,35,71
obtain the worst case and average case time complexity(Dec-15,18)
9 Write a function to perform merge sort give example(May-19)
10 Explain in detail about various searching technique(May-16,17,Dec-18,19)
11 State algorithm to sort element of a given array in ascending order using heap sort
.Sort the following numbers using hep sort 48,0,-1,82,108,72,54
12 Sort the following data in ascending order using quick sort show all passes with
pivot element 17,18,-9,2,0,-5,7,20.11,15
13 write a C program to perform the linear search operation on some number of
elements
14 Write a C program to implement non recursive binary search algorithm
15 Write a algorithm for recursive binary search with an example