Data Structure (CS-303) - Important Questions
-
7 Marks Medium Priority Asked: 2024, 2023
Write an algorithm for insert and delete operations in a circular linked list
Appeared 2x (2024, 2023)
-
14 Marks Medium Priority Asked: 2025
Write short notes on any Two:
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
Explain the classification of data structures in detail.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
Define Abstract Data Types (ADT). Explain the different operations performed on data structures and describe the criteria for cost estimation.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
Describe the memory representation of a Singly Linked List. Write an algorithm to insert a node at a specific position in a linked list.
Appeared 1x (2025)
-
7 Marks Low Priority Asked: 2025, 2024, 2020
Define data structure and explain the classification / various types of data structures in detail with examples.
Appeared 4x (2025, 2024, 2020)
-
7 Marks Low Priority Asked: 2024, 2019
Describe asymptotic notation in detail.
Appeared 2x (2024, 2019)
-
7 Marks Low Priority Asked: 2024, 2020
Write an algorithm for traversing nodes in a single linked list? Explain with an example.
Appeared 2x (2024, 2020)
-
7 Marks Low Priority Asked: 2024
Compare and contrast arrays and linked lists as abstract data types.
Appeared 1x (2024)
-
7 Marks Low Priority Asked: 2024
Describe the concept of a dynamic array and how it differs from a static array in memory management and flexibility.
Appeared 1x (2024)
-
7 Marks Low Priority Asked: 2023, 2018
Explain what an abstract data type is, with example, and describe the different abstract data types.
Appeared 2x (2023, 2018)
-
8 Marks Low Priority Asked: 2023
Determine worst-case complexity of sequential loops and nested loop followed by non-nested loop.
Appeared 1x (2023)
-
7 Marks Medium Priority Asked: 2024, 2023
Differentiate between stack and queue.
Appeared 2x (2024, 2023)
-
7 Marks Medium Priority Asked: 2024, 2023
Write a C program to convert an infix expression to postfix expression.
Appeared 2x (2024, 2023)
-
7 Marks Medium Priority Asked: 2025
Define Stack as an ADT. Explain the array and linked list implementation of stacks.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
Explain the algorithm to convert an Infix expression to a Postfix notation using a stack.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
Explain the concept of Queue simulation with a real-world example.
Appeared 1x (2025)
-
7 Marks Low Priority Asked: 2024, 2019, 2018
What is recursion? Explain the concept of recursion in detail with example.
Appeared 3x (2024, 2019, 2018)
-
7 Marks Low Priority Asked: 2025, 2024, 2020
Explain the stack-based algorithm to convert an infix expression to postfix notation with example.
Appeared 3x (2025, 2024, 2020)
-
7 Marks Low Priority Asked: 2024, 2020
Write an algorithm to reverse the order of elements on a stack using one additional stack and additional variables
Appeared 2x (2024, 2020)
-
7 Marks Low Priority Asked: 2024, 2018
Explain insertion and deletion operations in a circular queue with algorithm/diagram.
Appeared 2x (2024, 2018)
-
7 Marks Low Priority Asked: 2024
Write an algorithm for Push and Pop operations on stack using linked list
Appeared 1x (2024)
-
7 Marks Low Priority Asked: 2024
What is a DeQueue? Explain its operations with example.
Appeared 1x (2024)
-
7 Marks Low Priority Asked: 2023, 2019
Explain the Tower of Hanoi problem, its rules and steps with example/diagram.
Appeared 2x (2023, 2019)
-
7 Marks Medium Priority Asked: 2025, 2024, 2023
Explain in-order, pre-order and post-order traversal of a binary (search) tree with an example.
Appeared 3x (2025, 2024, 2023)
-
7 Marks Medium Priority Asked: 2024, 2022
Write a C program to insert and delete elements in a binary search tree.
Appeared 2x (2024, 2022)
-
7 Marks Medium Priority Asked: 2025
Define a Binary Search Tree (BST). Explain the algorithms for In-order, Pre-order, and Post-order traversal with an example.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
What are AVL Trees? Explain the four types of rotations (LL, RR, LR, RL) used to balance an AVL tree.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
Define the following tree terminologies: Height, Depth, Degree of a node, and Forest.
Appeared 1x (2025)
-
7 Marks Low Priority Asked: 2024, 2020
Write recursive functions/programs for preorder, inorder and postorder traversals of a binary tree.
Appeared 2x (2024, 2020)
-
7 Marks Low Priority Asked: 2025, 2024
Explain single and double rotations (LL, RR, LR, RL) used to balance an AVL tree
Appeared 2x (2025, 2024)
-
7 Marks Low Priority Asked: 2024
Construct an expression tree for a given expression and apply inorder, preorder and postorder traversals.
Appeared 1x (2024)
-
7 Marks Low Priority Asked: 2024
Create a binary search tree from given keys and delete given keys showing trees at each stage.
Appeared 1x (2024)
-
6 Marks Low Priority Asked: 2023, 2018
Insert given keys in order to construct AVL tree
Appeared 2x (2023, 2018)
-
6 Marks Low Priority Asked: 2023, 2020
Construct/draw a binary tree from given inorder and preorder/postorder traversal sequences.
Appeared 2x (2023, 2020)
-
14 Marks Low Priority Asked: 2023
Insert given elements into AVL tree and delete specified elements
Appeared 1x (2023)
-
7 Marks High Priority Asked: 2024, 2023, 2022, 2019
Explain / discuss Kruskal's algorithm with the help of an example / following graph.
Appeared 4x (2024, 2023, 2022, 2019)
-
7 Marks Medium Priority Asked: 2025
Explain the Adjacency Matrix and Adjacency List representations of a graph.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
Describe the Depth First Search (DFS) and Breadth First Search (BFS) algorithms for graph traversal with examples.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
What is a Minimum Spanning Tree (MST)? Explain Kruskal's or Prim's algorithm to find the MST of a weighted graph.
Appeared 1x (2025)
-
7 Marks Low Priority Asked: 2024, 2018
Differentiate between Depth First Search (DFS) and Breadth First Search (BFS).
Appeared 2x (2024, 2018)
-
7 Marks Low Priority Asked: 2025, 2024
Define what is a minimum spanning tree and write / explain Prim's or Kruskal's algorithm to find it.
Appeared 2x (2025, 2024)
-
7 Marks Low Priority Asked: 2025, 2023
Describe / write the DFS and BFS algorithms for graph traversal with examples.
Appeared 2x (2025, 2023)
-
4 Marks Low Priority Asked: 2023, 2018
Write / explain Prim's algorithm to find the minimum spanning tree of a graph, with an example.
Appeared 2x (2023, 2018)
-
9 Marks Low Priority Asked: 2023
For a given graph, find its adjacency list, adjacency matrix, and adjacency multilist representations.
Appeared 1x (2023)
-
7 Marks Low Priority Asked: 2023
Compare and contrast BFS and DFS graph traversals.
Appeared 1x (2023)
-
7 Marks Low Priority Asked: 2022
Find the BFS and DFS traversal of a given graph.
Appeared 1x (2022)
-
7 Marks Low Priority Asked: 2022
Apply / discuss Prim's algorithm on a given following graph to find the minimum spanning tree.
Appeared 1x (2022)
-
7 Marks Medium Priority Asked: 2024, 2023
Explain shell sort algorithm and simulate it for the following data 35, 33, 42, 10, 14, 19, 27, 44.
Appeared 2x (2024, 2023)
-
7 Marks Medium Priority Asked: 2024, 2023
Explain sequential search and simulate it on a given list of data.
Appeared 2x (2024, 2023)
-
7 Marks Medium Priority Asked: 2025
Explain the Quick Sort algorithm with suitable example.
Appeared 1x (2025)
-
7 Marks Medium Priority Asked: 2025
Explain Binary Search with an example.
Appeared 1x (2025)
-
7 Marks Low Priority Asked: 2024, 2019, 2018
Sort the given list of numbers in ascending order using Quick Sort showing partition steps.
Appeared 3x (2024, 2019, 2018)
-
7 Marks Low Priority Asked: 2024, 2019
Explain multiway merge sort with an example.
Appeared 2x (2024, 2019)
-
7 Marks Low Priority Asked: 2024, 2019
What is meant by sorting and why is sorting needed?
Appeared 2x (2024, 2019)
-
7 Marks Low Priority Asked: 2024
Apply binary search to search for a value in a given unsorted list.
Appeared 1x (2024)
-
7 Marks Low Priority Asked: 2024
Write short notes on Hashing and Indexing, Heap Sort and Red Black Tree.
Appeared 1x (2024)
-
6 Marks Low Priority Asked: 2023, 2019
Apply binary search to find a target value in a given sorted array, showing the steps.
Appeared 2x (2023, 2019)
-
14 Marks Low Priority Asked: 2023
Insert given keys into hash table of size 7 using separate chaining, linear probing and double hashing.
Appeared 1x (2023)
-
9 Marks Low Priority Asked: 2023
Sort given data using Quick Sort and prove worst-case $O(n \log n)$ time for Heap sort, Merge sort, Quick sort.
Appeared 1x (2023)
-
14 Marks Low Priority Asked: 2024
Write short notes on any two of the following:
Appeared 1x (2024)
-
8 Marks Low Priority Asked: 2023
Describe the performance of the algorithms used to multiply two $N \times N$ matrices using suitable measures of complexity. You should make clear what operations you are counting, what is the worst-case that you are considering, (and, perhaps, average-case, and best-case, where appropriate). Also consider space complexity?
Appeared 1x (2023)
Quick Add to Notes
Save questions, your own notes and screenshots into notes filed by unit. It takes a free account.
Create free accountHave an account? Log in
Notes Panel