Você está na página 1de 1
Con N.B. . 5195-09, (REVISED COURSE) SP-7372 (3 Hours) [Total Marks : 100 (1) Question No, 1 is compulsory. (2) Attempt any four questions out of remaining sIx questions. (3) Assume any suitable data whenever required but justify the same. (a) Explain linear and nonlinear data structure with example. (b) Explain different method of graph representation. (c) Write a program in Java to implement Binary Search. (a) Discuss Threaded binary tree in detail. (b) Write a program in Java to sort given n_ integer number using heap sort. (a) A Binary tree has 7 nodes. The pre-order and post-order traversal of the tree are given below. Draw the tree. Pre-order : GEDABEC Post-order : ABDCEFG () Write short note on B-Trees and B*-Trees. (a) What is Recursion ? Write a program in Java to implement “Tower of Hanoi" Problem. {b) Write a program in Java to sort given n integer numbers using Quicksort. Show the steps to sort the following numbers. 44, 33, 11, 55, 77, 90, 40, 60, 99, 22, 88, 66 (a) Write a Java program to implement circular queue using linked list. (b) Explain the method of Huffman Encoding. Apply Huffman Encoding method for the sentence "MALAYALAM". Give Huffman code for each symbol. (a) Using the modulo-division method and linear probing. Store the keys shown below in an array with 19 elements. How many collisions occurred ? What is the density of the list after all keys have been inserted 7 224562, 137456, 214562 140145, 214576, 162145 144467, 199645, 234534 (b) Explain BFS algorithm, explain it by example. (a) Discuss practical application of trees. (b) Compare Iteration and Recursion. (c) Write short notes on — (i) AVL Tree (ii) Infix, Prefix and Postfix expression. 10 10 10 10 10 10 10 10 10

Você também pode gostar