07 Write any seven out of the following:
[ marks]Define Big Oh notation. ii) List out the areas where Data Structure is used extensively. iii) What are the primitive string handlings functions? iv) Write at least three operations normally performed on Tree.
[ marks]What is the role of HEAD node in doubly linked list? vi) What is storage structure and file structure? vii) Define Null Graph viii) What is Garbage Collection ix) Define Multiway Tree
[ marks]What is Trie Structure
[ marks]04
[ marks]What is KWIC Indexing? ii) Represent 2x2+5xy+y2 in two dimensional array of size 5×5.
[3 marks]In which situation linked list data structure is used? What are the disadvantages of linked list data structure? Compare Array with Linked List.
[7 marks]Write an algorithm for Depth First Traversal. Give the DFT traversal from vertex Hfor following graph and show the content of stack.
[7 marks]Describe briefly Circular Linked List and a typical Node Structure used for it. Write the pseudo code of an Algorithm to Delete a Node from Circular Linked List whose address is specified.1
[7 marks]1. What is hashing function? Explain the following hashing methods a. The Folding Method b. The Division Method c. The Midsquare Method
[7 marks]Write an algorithm for Binary Search.
[7 marks]Define Graph. State its different storage representations. Explain the Matrix representation of a Graph. If Ais the matrix representation of a graph, What A2, A3… An indicate?
[7 marks]Explain the Dijkstra’s algorithm by giving suitable example.
[7 marks]i) Differentiate between Stack and Queue. ii) Discuss the various applications of stack.
[4 marks]Write algorithm of factorial using recursion and iteration. Discuss which is better and why.
[7 marks]Convert the following Infix expression to the corresponding Reverse Polish expression: (a + b↑ c↑ d) * (e + f / d). Give the trace of the steps including Stack Contents and Rank in tabular form.
[3 marks]Write the algorithm for insertion and deletion of node in linked representation of Queue and explain the benefits of linked representation against array representation of Queue. Specify two applications of queue.
[7 marks]What is the significance of Threaded Binary Tree? Give the node structure of it. Also explain advantages of threaded binary tree. Construct threaded binary tree for given data: 67, 34, 12, 11, 56, 89, 54, 33, 98, 17.
[7 marks]What is sorting? Explain Bubble sort algorithm and trace it with sample data.
[7 marks]Show all passes of Heap Sort for the list: { 15,35,55,75,5,95,85,65,45,25}
[4 marks]Define the characteristic of a B-Tree. Construct a B-tree of order 5 by inserting following elements: 3,14,7,1, 8,5,11, 17,13,6, 23,12,20,26,4,16,18,24,25 and 19.
[7 marks]