Data Structures — DU B.Sc. (Hons) Computer Science Previous Year Question Papers

Programme
B.Sc. (Hons) Computer Science
Paper type
DSC
Paper code
2342012301
Exam years
2021–2026

Data Structures is a DSC paper in Semester III, IV of B.Sc. (Hons) Computer Science at Delhi University (paper code 2342012301). 22 previous year question papers from 2021–2026 are listed below; view or download each original PDF.

Share with your class: WhatsApp Telegram

2026 question papers

2026

B.Sc. (Hons) Computer Science

2342012301
2026

B.Sc. (Hons) Computer Science

2342012301

2025 question papers

2025

B.Sc. (Hons) Computer Science

2342012301
2025

B.Sc. (Hons) Computer Science

2342012301
2025

B.Sc. (Hons) Computer Science

2342012301
2025

B.Sc. (Hons) Computer Science

2342012301
2025

B.Sc. (Hons) Computer Science

2342012301
2025

B.Sc. (Hons) Computer Science

2342012301

2024 question papers

2024

B.Sc. (Hons) Computer Science

2342012301
2024

B.Sc. (Hons) Computer Science

2342012301
2024

B.Sc. (Hons) Computer Science

2342012301
2024

B.Sc. (Hons) Computer Science

2342012301
2024

B.Sc. (Hons) Computer Science

2342012301
2024

B.Sc. (Hons) Computer Science

2342012301
2024

B.Sc. (Hons) Computer Science

2342012301

2023 question papers

2023

B.Sc. (Hons) Computer Science

2342012301
2023

B.Sc. (Hons) Computer Science

2342012301
2023

B.Sc. (Hons) Computer Science

2342012301

2022 question papers

2022

B.Sc. (Hons) Computer Science

2342012301
2022

B.Sc. (Hons) Computer Science

2342012301
2022

B.Sc. (Hons) Computer Science

2342012301

2021 question papers

2021

B.Sc. (Hons) Computer Science

2342012301

What was asked in the 2026 Data Structures paper?

Text of the may june 2026 DU question paper (UPC 2342012301), so you can see what gets asked before opening a PDF.

1. State whether the following statements are True or False. a. The time complexity of linear search is always O(log n), because it checks elements one by one. b. If an array is already sorted in ascending order, then binary search will always take O(1) time to find any element. c. The in order traversal of every binary tree always gives the nodes in sorted order. d. For a graph represented using an adjacency matrix, checking whether an edge exists between two given vertices takes O(1) time. e. In a linked list, elements must be stored in contiguous memory locations and each node must contain information to locate the next relevant node. f. In a sparse matrix 3-tuple representation, the first row stores only the first non-zero element of the original matrix. 2.(a) Write the algorithms to insert a node at the beginning (head) of the following types of linked lists. 1. Doubly linked list 2. Circular linked list Also mention one application of each type. 2.(b) What is a sparse matrix? Represent the following matrix using as a Sparse Array: Write the algorithm to calculate the transpos-=[98e of a Sparse Array. 3. Consider the following graphs and 3(a). Perform depth first traversal for the graph starting from node 1 and depict the step-wise states of the stack and visited array. 3(b). Perform breadth first traversal for the graph starting from node 1 and depict the step-wise states of the queue and visited array. 4.(a) Given the following in order and preorder traversals of a binary tree, determine post-order traversal of a binary tree: Inorder Traversal: d b e a f c g Pre-order Traversal: a b d e c f g 4.(b) Define height, depth, and level of a node in a binary tree. For the following binary tree, write the order of nodes visited in preorder, postorder, and level-ordered traversals. 5.(a) Explain the working of insertion sort using the following array: Show the list after each major pass. Also justify why the worst-case time complexity of insertion sort is O(n2). 5.(b) Write the algorithms to the following operations. a. b. c. push an element onto a Stack enqueue an element onto a Queue delete a node by value from a Linked List 6.(a) Define a heap and explain the difference between a max heap and a min heap. Convert the following array into a max heap conceptually and show the final heap structure: 6.(b) Apply binary search to find 35 in the following sorted array. Depict each step of the searching algorithm.

How can I prepare for Data Structures?

Related subjects in B.Sc. (Hons) Computer Science

Frequently asked questions

Where can I download the DU Data Structures previous year question paper PDF?
This page lists 22 Data Structures question papers for B.Sc. (Hons) Computer Science at Delhi University (2021–2026). Open any paper to view the original PDF or download it. It is free and needs no login.
Which years of Data Structures question papers are available?
Data Structures papers are available for 2026, 2025, 2024, 2023, 2022, 2021.
What is the paper code (UPC) of Data Structures?
The Unique Paper Code for Data Structures in B.Sc. (Hons) Computer Science is 2342012301.
Which semester is Data Structures taught in?
Data Structures is a DSC paper in Semester III, IV of B.Sc. (Hons) Computer Science, according to DU's published scheme.

← All B.Sc. (Hons) Computer Science subjects