// Dr. A.P.J. Abdul Kalam Technical University, Uttar Pradesh / 2024
AKTU B.Tech — Data Structure (BCS301), Semester 3, 2024
Data Structure · BCS301 · B.Tech Computer Science and Engineering · Semester 3
Questions
22
Has an official figure
Work through the questions
22 questions
No verified answers are available for this paper.
What are the various asymptotic notations?
No verified answer or solution is available for this question.
Why are parentheses needed to specify the order of operations in infix expressions but not in postfix operations?
No verified answer or solution is available for this question.
How the choice of pivot element effects the running time of quick sort algorithm?
No verified answer or solution is available for this question.
What are the 2 different forms of hashing?
No verified answer or solution is available for this question.
What is the significance of binary tree in Huffman algorithm?
No verified answer or solution is available for this question.
What is the number of edges in a regular graph of degree d and n vertices?
No verified answer or solution is available for this question.
Write an algorithm to obtain the connected components of a graph.
No verified answer or solution is available for this question.
Write a Pseudo code that will concatenate two linked lists. Function should have two parameters, pointers to the beginning of the lists and the function should link second list at the end of the first list.
No verified answer or solution is available for this question.
Write an algorithm to convert a valid arithmetic infix expression into an equivalent postfix expression. Trace your algorithm for following expression: A+B*C-D/F
No verified answer or solution is available for this question.
What are the disadvantages of linear probing in hashing? Discuss how quadratic probing can be used to solve some of these problems.
No verified answer or solution is available for this question.
Write C function for non-recursive post order traversal.
No verified answer or solution is available for this question.
Consider the following graph and using Dijkstra Algorithm find the shortest path.

No verified answer or solution is available for this question.
Each element of an array Data [20][50] requires 4 bytes of storage. Base address of Data is 2000. Determine the location of Data [10][10] when the array is stored as: (i) Row major (ii) Column major
No verified answer or solution is available for this question.
How will you create link list representation of a polynomial. Explain it with the suitable example.
No verified answer or solution is available for this question.
Write an algorithm to evaluate an arithmetic expression using stack and show how the expression 3*(5-3) will be evaluated.
No verified answer or solution is available for this question.
A double ended Queue (deque) is a linear list in which additions may be made at either end. Obtain a data representation mapping a deque into one dimensional array. Write C function to add and delete elements from either end of deque.
No verified answer or solution is available for this question.
Write a C program for sorting 100 integer numbers using selection sort procedure. Discuss the worst-case time complexity of the algorithms.
No verified answer or solution is available for this question.
Write a program in C language to implement binary search algorithm. Also discuss the average behavior of the algorithm.
No verified answer or solution is available for this question.
If E and I denotes the external and internal path length of a binary tree having n internal nodes then show that E=I+2n.
No verified answer or solution is available for this question.
Suppose character a, b, c, d, e, f has probabilities 0.07, 0.09, 0.12, 0.22, 0.23, 0.27 respectively. Find an optimal Huffman code and draw the Huffman tree.
No verified answer or solution is available for this question.
Find the minimum spanning tree using Prim's algorithm for the graph shown below.

No verified answer or solution is available for this question.
Write a program in C language to compute the indegree and outdegree of every vertex of a directed graph when the graph is represented by an adjacency matrix.
No verified answer or solution is available for this question.