6337
6337
6337
18-N-1236
B.E. (BIOMEDICAL ENGINEERING) DEGREE EXAMINATIONS, NOVEMBER / DECEMBER 2021
THIRD SEMESTER
318BMT06 / 318ECT03 / 318EET06 - FUNDAMENTALS OF DATA STRUCTURES IN C
(REGULATIONS 2018)
(Common to B.E. – Electronics and Communication Engineering & Electrical and Electronics Engineering)
PART – B (5 X 16 = 80 Marks)
11. a) Elucidate the compilation and linking process in C. Write a C program to find CO1 K3
the factors of the number.
(OR)
11. b) Describe the syntax of any two looping statements in C. Write a C program to CO1 K3
find the string is palindrome or not.
12. a) Describe the working of structure within structure with suitable example. CO2 K3
Write a program to create the array of structures and display the data.
(OR)
12. b) Discuss about memory management .Write a C program to read and write CO2 K3
the contents in a file.
13. a) Elucidate the working of double linked list. Write an algorithm to insert an CO3 K4
item in the middle, beginning and end position in the double linked list.
(OR)
13. b) Narrate the algorithm of balancing the symbols. Convert the given infix CO3 K4
expression into postfix (A-B)* (D/E).
14. a) Explain the concept of binary search tree. Write an algorithm to insert an item CO4 K3
in binary search tree with example.
(OR)
14. b) Describe the different ways of representing the graph. Discuss the algorithms CO4 K2
of graph traversals with example.
15. a) Describe the algorithm of merge sort. Rearrange the given numbers using CO5 K4
merge sort 21, 11, 5, 78, 49,54,72,88,67,53,44,101,109,103,114,102.
(OR)
15. b) Write the algorithm of linear search on n data elements for a given key k. CO5 K3
What is the worst case and average case time complexities?