Data Structures Using C 2022 November
Data Structures Using C 2022 November
289099
3
D 31787 (Pages : 2) Name.........................................
Reg. No.....................................
3
THIRD SEMESTER (CBCSS—UG) DEGREE EXAMINATION
NOVEMBER 2022
1
Computer Science
8
Answer all questions, each correct answer carries a maximum of 2 marks.
Ceiling 20 marks.
3
1. What are derived data types ? Example.
3
3. How to perform a traversal in an array ?
1
5. Explain the basic structure of a doubly linked list.
8
11. What is undirected graph ?
3
Section B (Short Essay Type Questions)
3
Ceiling 30 marks.
13. What is a data structure ? Explain its classification with suitable examples.
1
14. Explain the procedure to insert an element in a specified position of an array.
Turn over
289099
8
289099
3
2 D 31787
15. Develop the algorithm to delete a node from a singly linked list.
3
16. What are Stacks ? Explain the implementation of linear stack in memory.
1
18. How to represent an expression in a binary tree ? Also, perform a post order traversal on that tree.
19. Explain the depth first and breadth first graph traversals.
20. What is polish notation ? Explain the procedure to convert an infix expression in to post fix with
8
the help of an operand stack.
21. Explain the quick sort algorithm and also find the efficiency measures.
3
(1 × 10 = 10 marks)
1 3
3 38
1
289099