Unit5 - Subjective Questions

CSE357 • Practice Questions with Detailed Answers

1

Define Data Structures and classify them based on their organization. Provide examples for each category.

2

Compare and contrast Singly Linked Lists and Doubly Linked Lists.

3

Explain the Stack data structure. Describe the PUSH and POP operations with an algorithm or pseudocode.

4

Describe a Circular Queue. How does it overcome the limitations of a standard Linear Queue? Provide the logic for calculating the position for insertion.

5

Discuss the application of Stacks in Infix to Postfix Conversion. Convert the expression into postfix notation.

6

Define a Binary Search Tree (BST). Explain the insertion process in a BST with an example.

7

What are AVL Trees? Explain why they are needed and define the Balance Factor.

8

Explain the three main types of Tree Traversal techniques (Inorder, Preorder, Postorder) with the algorithmic logic.

9

Describe the two common methods for representing Graphs in memory: Adjacency Matrix and Adjacency List. Discuss their pros and cons.

10

Differentiate between BFS (Breadth-First Search) and DFS (Depth-First Search) graph traversal algorithms.

11

Explain Dijkstra’s Algorithm for finding the shortest path in a graph. What are its limitations?

12

What is Hashing? Define Hash Function and Hash Collision. How are collisions resolved?

13

Describe the properties of a Max-Heap. Illustrate the steps to insert the value 60 into the following Max-Heap: [50, 30, 20, 15, 10, 8, 16].

14

Explain Heap Sort. What is its time complexity?

15

Discuss Collision Resolution in Hashing using Linear Probing and Chaining. Which one is better when the table is full?

16

What is a Priority Queue? How can it be implemented efficiently using a Heap?

17

Explain Kruskal’s Algorithm for finding the Minimum Spanning Tree (MST).

18

What are the characteristics of a Good Hash Function?

19

Write the algorithmic steps to reverse a Singly Linked List.

20

Compare Complete Binary Tree and Full Binary Tree.