Skip to content

// Dr. A.P.J. Abdul Kalam Technical University, Uttar Pradesh / 2023

AKTU B.Tech IT — Basic Data Structure & Algorithms (KOE045), Semester 4, 2023

Basic Data Structure & Algorithms · KOE045 · B.Tech Information Technology · Semester 4

Work through the questions

28 questions

No verified answers are available for this paper.

  1. Question 1(a)

    Descriptive2 marks

    Communication

    Discuss space and time complexity of an algorithm?

    No verified answer or solution is available for this question.

  2. Question 1(b)

    Descriptive2 marks

    Communication

    Write the syntax to check whether a given circular queue is full or empty?

    No verified answer or solution is available for this question.

  3. Question 1(c)

    Descriptive2 marks

    Communication

    Draw a binary Tree for the expression: A * B - (C + D) * (P /Q).

    No verified answer or solution is available for this question.

  4. Question 1(d)

    Descriptive2 marks

    Communication

    What is the advantage of linked list over an array?

    No verified answer or solution is available for this question.

  5. Question 1(e)

    Descriptive2 marks

    Communication

    Define transitive closure.

    No verified answer or solution is available for this question.

  6. Question 1(f)

    Descriptive2 marks

    Communication

    Write an algorithm of bubble sort and its time complexity also.

    No verified answer or solution is available for this question.

  7. Question 1(g)

    Descriptive2 marks

    Communication

    Write down the various applications of linked list.

    No verified answer or solution is available for this question.

  8. Question 1(h)

    Descriptive2 marks

    Communication

    Write an algorithm for Breadth First Search (BFS) traversal of a graph.

    No verified answer or solution is available for this question.

  9. Question 1(i)

    Descriptive2 marks

    Communication

    Differentiate between internal sorting and external sorting.

    No verified answer or solution is available for this question.

  10. Question 1(j)

    Descriptive2 marks

    Communication

    Discuss about data structure which is used to perform recursion?

    No verified answer or solution is available for this question.

  11. Question 2(a)

    Descriptive10 marks

    Communication

    Assume the declaration of multi-dimensional arrays A and B to be, A (-2:2, 2:22) and B (1:8, -5:5, -10:5)

    No verified answer or solution is available for this question.

  12. Question 2(i)

    Descriptive10 marks

    Communication

    Find the length of each dimension and number of elements in A and B. (ii) Find the address of element B (2, 2, 3), assuming Base address of B =400 and there are W=4 words per memory location.

    No verified answer or solution is available for this question.

  13. Question 2(b)

    Descriptive10 marks

    Communication

    Define Stack? Write a C program for array implementation ofa stack.

    No verified answer or solution is available for this question.

  14. Question 2(c)

    Descriptive10 marks

    Communication

    Write an algorithm for Insertion Sort. Use Insertion sort algorithm, sort the following elements: 2, 8, 7, 1, 3, 5, 6, 4.

    No verified answer or solution is available for this question.

  15. Question 2(d)

    Descriptive10 marks

    Communication

    Write the Dijkstra algorithm for shortest path in a graph and also discuss with the help of suitable example.

    No verified answer or solution is available for this question.

  16. Question 2(e)

    Descriptive10 marks

    Communication

    Construct a Huffman tree for given characters A, B, C, D, E, F, G, H and I having frequencies 15, 6, 7, 12, 25, 4, 6, 1 and 15 respectively. What will be the code of AHEAD in binary?

    No verified answer or solution is available for this question.

  17. Question 3(a)

    Descriptive10 marks

    Communication

    How to represent the polynomial using linked list Write a C program to add two polynomials using linked list.

    No verified answer or solution is available for this question.

  18. Question 3(b)

    Descriptive10 marks

    Communication

    Discuss singly linked list? Write an algorithm to insert a node after agiven node in singly linked list. QP23EP2_290 | 03-08-2023 13:26:16 | 117.55.242.132 QP23EP2_290 | 03-08-2023 13:26:16 | 117.55.242.132

    No verified answer or solution is available for this question.

  19. Question 4(a)

    Descriptive10 marks

    Communication

    Write an algorith Trace your algo expression P, Q: A+(B*C- (D/E

    Official figure for question 4(a)

    No verified answer or solution is available for this question.

  20. Question 4(b)

    Descriptive10 marks

    Communication

    Write short note o

    Official figure for question 4(b)

    No verified answer or solution is available for this question.

  21. Question 4(i)

    Descriptive10 marks

    Communication

    Priority Queu (ii) Circular Que

    Official figure for question 4(i)

    No verified answer or solution is available for this question.

  22. Question 5(a)

    Descriptive10 marks

    Communication

    Define Hashing. E hash functionwith

    Official figure for question 5(a)

    No verified answer or solution is available for this question.

  23. Question 5(b)

    Descriptive10 marks

    Communication

    Write an algorithm sequence: 18, 25, 4

    Official figure for question 5(b)

    No verified answer or solution is available for this question.

  24. Question 6(a)

    Descriptive10 marks

    Communication

    Discuss spanning cost spanning tree tree in the followin

    Official figure for question 6(a)

    No verified answer or solution is available for this question.

  25. Question 6(b)

    Descriptive10 marks

    Communication

    Write down the F Use the Floyd Wa the given graph:

    Official figure for question 6(b)

    No verified answer or solution is available for this question.

  26. Question 7(a)

    Descriptive10 marks

    Communication

    Explain B-tree. W following sequenc 10,20,35,40,50,60 Assume that the or

    No verified answer or solution is available for this question.

  27. Question 7(i)

    Descriptive10 marks

    Communication

    Interna (ii) B+ tre f the following: hm for converting infix expression into post orithm for infix expression Q into itsequiv E^F)*H on the following: ue ue f the following: Explain midsquare and digit folding method to the help of an example. m for Quick Sort. Use Quick sort algorithm, sor 45, 34, 36, 51, 43, 24. f the following: tree. Write down the Kruskal algorithm to ob

    No verified answer or solution is available for this question.

  28. Question 7(e)

    Descriptive10 marks

    Communication

    Use Kruskal algorithm to find the minimum ng graph: Floyd Warshall algorithm to solve the all pair arshall algorithm to find shortest path among all f the following: Write down the properties of it. Construct a ce of inputs: 0,75,80,95 rder of the B-tree is 3. on the following: al and External Sorting ee tfixexpression. valent postfix o compute the rt thefollowing btainminimum mcost spanning shortest path. the vertices in B-tree on the

    Official figure for question 7(e)

    No verified answer or solution is available for this question.

Keep preparing

Revisit another year or explore a different paper in the library.

More from this exam