DSA Course File
DSA Course File
COURSE OBJECTIVES:
1. To provide the fundamentals of data organization and algorithms
TEXTBOOKS:
1. Michael T. Goodrich, Roberto Tamassia, and Michael H. Goldwasser, “Data Structures &
Algorithms in Python”, An Indian Adaptation, John Wiley & Sons Inc., 2021
REFERENCES:
1. Lee, Kent D., Hubbard, Steve, “Data Structures and Algorithms with Python”
Springer Edition 2015
2. Rance D. Necaise, “Data Structures and Algorithms Using Python”, John Wiley
& Sons, 2011
3. Aho, Hopcroft, and Ullman, “Data Structures and Algorithms”, Pearson
Education, 1983.
4. Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, and Clifford Stein,
“Introduction to Algorithms", Second Edition, McGraw Hill, 2002.
5. Mark Allen Weiss, “Data Structures and Algorithm Analysis in C++”, Fourth
Edition, Pearson Education, 2014
INDIVIDUAL FACULTY TIME TABLE
DEPARTMENT OF SCIENCE AND HUMANITIES(EEE)
TIME TABLE FOR EVEN SEM (ACADEMIC YEAR: 2025-26)
Hours 12.45
09.30 - 10.15 - 11.00- 11.15- 12.00 - 1.25 – 2.05- 2.45- 2.55- 03.35-
-
Day 10.15 11.00 11.15 12.00 12.45 2.05 2.45 2.55 3.35 04.15
1.25
Monday
Tuesday
Wednesda
LUNCH
BREAK
BREAK
y
Thursday
Friday
Saturday
(Note: If the Subject has 3 Credit means, the minimum Number of Periods must be 12
per unit & if the credit was 4 means, periods must be 15 per unit)
UNIT–I DATA TYPES
Hours: 12 /
15
Sl. Date Periods Book Delivery Actual
Topics to be covered
No. Planned required / Ref Method Date
1. RB6/
05.01.26 Abstract Data Types (ADTs) 1 1.1- A&B
1.4
2. RB6/
06.01.26 ADTs and classes 1 1.5- A&B
1.6
3. RB6/
08.01.26 Introduction to OOP 1 A&B
1.6
4. RB6/
09.01.26 Classes in Python 1 1.6- A&B
1.12
5. RB6/
10.01.26 Inheritance 1 1.13- A&B
1.27
6. Namespaces – Shallow and
RB6/
deep copying
12.01.26 1 1.27- A&B
Introduction to analysis of
1.51
algorithms
7. RB6/
13.01.26 Asymptotic notations 1 1.51- A&B
1.58
8. RB6/
13.01.26 Divide & conquer 1 1.59- A&B
1.62
9. 19.01.26 Recursion- Analyzing recursive 1 RB6/ A&B
1.63-
algorithms
1.79
10. 19.01.26 Real-World Analogy of ADT 1 NPTEL
UNIT–II LINEAR STRUCTURES
Hours: 12 /
15
Sl. Date Periods Book Delivery Actual
Topics to be covered
No. Planned required / Ref Method Date
11. RB6/
20.01.26 List ADT 1 A&B
2.1
12. RB6/
20.01.26 Array-Based Implementations 1 2.2- A&B
2.5
13. RB6/
22.01.26 Linked List Implementations 1 2.6- A&B
2.7
14. RB6/
23.01.26 Singly Linked Lists 1 2.8- A&B
2.20
15. RB6/
24.01.26 Circularly Linked Lists 1 2.21- A&B
2.34
16. RB6/
27.01.26 Doubly Linked Lists 1 2.35- A&B
2.48
17. RB6/
29.01.26 Stack ADT 1 2.48- A&B
2.63
18. RB6/
30.01.26 Queue ADT 1 2.73- A&B
2.91
19. RB6/
Double Ended Queues –
30.01.26 1 2.92- A&B
Applications
2.96
20. 30.01.26 CPU Cache Optimization 1 NPTEL
UNIT–III TREE STRUCTURES
Hours: 12 /
15
Sl. Date Book Delivery Actual
Topics to be covered 1
No. Planned / Ref Method Date
21. Tree ADT RB6/
31.01.26 1 3.1- A&B
3.8
22. Binary Tree ADT RB6/
31.01.26 1 3.8- A&B
3.16
23. 02.02.26 Tree Traversals 1 RB6/ A&B
3.16-
3.22
24. Binary Search Trees RB6/
02.02.26 1 3.22- A&B
3.28
25. 03.02.26 AVL Trees RB6/
1 3.28- A&B
3.35
26. AVL Trees Algorithm RB6/
04.02.26 1 3.35- A&B
3.39
27. Heaps RB6/
04.02.26 1 3.39- A&B
3.43
28. Heap Sort RB6/
05.02.26 1 3.43- A&B
3.49
29. Multiway Search Trees RB6/
12.02.26 1 3.49- A&B
3.72
30. 12.02.26 Merkle Trees in Blockchain 1 NPTEL
UNIT–IV GRAPH STRUCTURES
Hours: 12 /
15
Sl. Date Book Delivery Actual
Topics to be covered 1
No. Planned / Ref Method Date
31. RB6/
13.02.26 Graph ADT 1 4.1- A&B
4.4
32. RB6/
13.02.26 Representations Of Graph 1 4.5- A&B
4.15
33. RB6/
14.02.26 Graph Traversals 1 4.16- A&B
4.18
34. RB6/
14.02.26
DAG – Topological Ordering 1 4.11- A&B
4.34
35. RB6/
16.02.26 Greedy Algorithms 1 A&B
4.35
36. RB6/
16.02.26 Dynamic Programming 1 4.39- A&B
4.56
37. RB6/
17.02.26 Shortest Paths 1 4.57- A&B
4.60
38. 17.02.26 Minimum Spanning Trees 1 RB6/ A&B
4.61-
4.79
39. RB6/
Introduction To Complexity
19.02.26 1 4.79- A&B
Classes And Intractability
4.93
40. 19.02.26 Social Networks 1 NPTEL
UNIT–V ALGORITHMS
Hours: 12 /
15
Sl. Date Book Delivery Actual
Topics to be covered 1
No. Planned / Ref Method Date
41. RB6/
20.02.26 Analysis of algorithms 1 5.1- A&B
5.10
42. RB6/
20.02.26 Analysis of algorithms 1 5.11- A&B
5.17
43. RB6/
23.02.26 Asymptotic notations 1 5.18- A&B
5.29
44. RB6/
23.02.26 Divide & Conquer 1 A&B
5.30
45. RB6/
24.02.26 Divide & Conquer 1 A&B
5.31
46. Recursion RB6/
24.02.26 1 5.31- A&B
5.33
47. Recursion RB6/
26.02.26 1 A&B
5.34
48. Recursive Algorithms RB6/
26.02.26 1 5.35- A&B
5.73
49. Recursive Algorithms RB6/
27.02.26 1 5.74- A&B
5.76
50. Mathematical Foundation of
27.02.26 Algorithm Analysis 1
NPTEL
UNIT-VI SORTING AND SEARCHING
Hours: 12 /
15
Sl. Date Book Delivery Actual
Topics to be covered 1
No. Planned / Ref Method Date
51. RB6/
28.02.26 Bubble Sort 1 6.1- A&B
6.10
52. 17.03.26 Selection Sort 1 RB6/ A&B
6.11-
6.17
53. RB6/
20.03.26 Insertion Sort 1 6.18- A&B
6.29
54. RB6/
23.03.26 Merge Sort 1 A&B
6.30
55. Quick Sort – Analysis Of Sorting RB6/
23.03.26 1 A&B
Algorithms 6.31
56. RB6/
24.03.26 Linear Search 1 6.31- A&B
6.33
57. RB6/
26.03.26 Binary Search 1 A&B
6.34
58. RB6/
27.03.26 Hashing – Hash Functions 1 6.35- A&B
6.73
59. Collision Handling- Load RB6/
28.03.26 Factors, Rehashing, And 1 6.74- A&B
Efficiency 6.76
60. 30.03.26 Search Engines 1 NPTEL
Total Periods 54 / 75
TEXTBOOKS:
1. Michael T. Goodrich, Roberto Tamassia, and Michael H. Goldwasser, “Data
Structures & Algorithms in Python”, An Indian Adaptation, John Wiley & Sons
Inc., 2021
REFERENCES:
1. Goodrich, M. T., Tamassia, R., & Goldwasser, M. H. (2021). Data structures & algorithms
in Python (Indian adaptation). John Wiley & Sons Inc.
2. Lee, K. D., & Hubbard, S. (2015). Data structures and algorithms with Python. Springer.
3. Necaise, R. D. (2011). Data structures and algorithms using Python. John Wiley & Sons.
4. Cormen, T. H., Leiserson, C. E., Rivest, R. L., & Stein, C. (2002). Introduction to
algorithms. McGraw-Hill.
5. Weiss, M. A. (2014). Data structures and algorithm analysis in C++. Pearson Education.
Teaching Methodology:
A. Chalk & talk B. PPT C. Seminar D. Case studies
class Student:
5. def __init__(self, name): CO1 BL1 April/May-24
[Link] = name
s1 = Student("Ravi")
print([Link])
3. What is inheritance? State its advantages.
Inheritance is the process where one class
acquires properties of another class.
Advantages:
6. o Code reusability
CO1 BL1 April/May-24
o Easy maintenance
o Supports hierarchical classification
class B(A):
pass
What are namespaces in Python?
Namespaces are containers used to organize names of
variables and functions.
Types:
Global namespace
o Built-in namespace
import copy
17. a = [1, [2, 3]]
b = [Link](a)
import copy
18. a = [1, [2, 3]]
b = [Link](a)
Code reusability
Better security
19. Easy debugging
Modularity
Easy maintenance
29.
30.
31.
32.
33.
34.
Name the basic operations of queue. Enqueue, Dequeue,
Front, and Rear are queue operations.
35.
37.
38.
39.
40.
PART – B & C [Min-10]
AU
Q. Mark
QUESTION CO BL Questions
No. s
Year
Explain List ADT in detail and discuss array-based
CO BL April/May
1. implementation of lists with suitable examples. 6
1 1 24
Describe singly linked list with memory
representation and explain insertion and CO BL
2. 8 May/june 12
deletion operations with algorithms. 1 1
Explain circular linked list and doubly linked list
with suitable diagrams and applications. CO BL
3. 13 Nov/Dec 21
1 1
Compare array implementation and linked list
CO BL May/June
4. implementation of List ADT with advantages and 8
1 1 12
disadvantages.
Explain Stack ADT and discuss stack operations CO BL
5. 12 Nov/Dec 13
using array implementation with algorithms. 1 1
Explain linked list implementation of stack with CO BL
6. 13 -
push and pop operations and suitable examples. 1 1
Describe Queue ADT and explain queue
CO BL
7. operations using arrays with algorithms and 13 -
1 1
examples.
Explain circular queue with suitable example and CO BL
8 13 -
discuss its advantages over linear queue. 1 1
What is a Deque? Explain types of deque and CO BL
9. 13 -
operations performed on deque with examples. 1 1
1 Discuss various applications of linked lists, CO BL
13 -
0. stacks, queues, and deque in real-time systems. 1 1
UNIT – III – Tree Structures
PART – A [Two Marks Questions with Answers] [Min-20]
AU
Q.
QUESTION CO BL Questions
No.
Year
What is a Tree ADT? Tree ADT is a hierarchical data
CO
41. structure consisting of nodes connected by edges with a BL1 April/May 24
1
root node at the top.
Define Binary Tree. A binary tree is a tree in which each
CO
node has at most two children called left child and right BL1 Nov/Dec 21
42. 1
child.
What is a leaf node? A node with no children is called a
CO1 BL1 Nov/Dec 23
43. leaf node.
What is meant by tree traversal? Tree traversal is the
44. CO1 BL1 Nov/Dec 21
process of visiting all nodes of a tree exactly once.
Name the types of tree traversals. Preorder, Inorder,
45. Postorder, and Level order traversals are the types of tree CO1 BL1 April/May-24
traversals.
What is preorder traversal? In preorder traversal, nodes
46. are visited in the order Root–Left–Right. CO1 BL1 April/May-24
What is inorder traversal? In inorder traversal, nodes are
47. visited in the order Left–Root–Right. CO1 BL1 -
UNIT – IV – XXXXXXXXXXXXXXXXX
PART – A [Two Marks Questions with Answers] [Min-20]
AU
Q.
QUESTION CO BL Questions
No.
Year
CO
Define Rayleigh scattering BL1 April/May 24
1
CO
1. What is Rayleigh scattering? BL1 April/May 24
1
What factors cause Rayleigh scattering in optical CO
BL1 May/June 12
fibers? 1
What are the causes for attenuation in optical fiber?
CO
Also, recall the expression for determining BL1 April/May 24
1
attenuation.
Plot attenuation versus wavelength for typical glass CO
BL1 Nov/Dec 22
fiber showing major attenuation windows. 1
2. CO
Define attenuation. BL1 Nov/Dec 17
1
CO
What are the causes of absorption? BL1 Nov/Dec 16
1
CO
Define attenuation coefficient of the fiber BL1 Nov/Dec 11
1
Define dispersion in multimode fibers. What is its CO
BL1 Nov/Dec 21
effect? 1
Define dispersion. Why intermodal dispersion is not CO
BL1 Nov/Dec 21
found in single mode fiber? 1
Distinguish between intermodal and intermodal CO
BL1 Nov/Dec 21
dispersion 1
Why graded index is less affected by dispersion that CO
BL1 Nov/Dec 21
3. step index multimode optical fiber? 1
Distinguish between intermodal and intermodal CO
BL1 Nov/Dec 18
dispersion 1
CO
What is intra modal dispersion? BL1 April/May 17
1
CO
Define group delay BL1 April/May 17
1
What are the two reasons for chromatic dispersion? CO BL1 Nov/Dec 12
1
Define dispersion in multimode fibers. What is its CO
BL1 Nov/Dec 13
effect? 1
Differentiate between stimulated Brillouin scattering CO
BL1 April/May 24
and stimulated Raman scattering 1
4.
What are the most important nonlinear effects of CO
BL1 Nov/Dec 12
optical fiber communications? 1
A continuous 12 kms long optical fiber link has a loss
of 1.5 dB/km. what is the minimum optical power CO
BL1 Nov/Dec 21
that must be launched into the fiber to maintain an 1
optical power level of 0.3µW at the receiving end?
5.
A continuous 12 kms long optical fiber link has a loss
of 1.5 dB/km. what is the minimum optical power
CO1 BL1 Nov/Dec 13
that must be launched into the fiber to maintain an
optical power level of 0.3µW at the receiving end?
6. How silica fibers made? CO1 BL1 Nov/Dec 23
7. What is Inter symbol interference? CO1 BL1 Nov/Dec 23
8. State two characteristics of single mode fibers CO1 BL1 Nov/Dec 23
Differentiate dispersion shifted and dispersion
9. CO1 BL1 Nov/Dec 23
flattened fibers
150µW optical power is launched at the input of a 10
km long optical fiber link operating at850nm. The
output power available is 5µW. estimate the total
10. CO1 BL1 Nov/Dec 21
attenuation in dB over the link length neglecting all
connector and spice losses. What is the average
attenuation per km?
A 30km long optical fiber has an attenuation of
11. 0.8db/km. -7dBmof optical power is launched into the CO1 BL1 May/June 12
fiber; determine the output optical power in dBm.
12. What are the limitations of freedom of expression? CO1 BL1 April/May-24
13. What are the limitations of freedom of expression? CO1 BL1 April/May-24
14. What are the limitations of freedom of expression? CO1 BL1 April/May-24
15. What are the limitations of freedom of expression? CO1 BL1 -
16. What are the limitations of freedom of expression? CO1 BL1 -
17. What are the limitations of freedom of expression? CO1 BL1 -
18. What are the limitations of freedom of expression? CO1 BL1 -
19. What are the limitations of freedom of expression? CO1 BL1 -
20. What are the limitations of freedom of expression? CO1 BL1 -
UNIT – I – XXXXXXXXXXXXXXXXX
(Short – Key notes for the slow learners – Preferably Answers for Part – B Questions from
the Question Bank)
UNIT – II – XXXXXXXXXXXXXXXXX
(Short – Key notes for the slow learners – Preferably Answers for Part – B Questions from
the Question Bank)
UNIT – III – XXXXXXXXXXXXXXXXX
(Short – Key notes for the slow learners – Preferably Answers for Part – B Questions from
the Question Bank)
UNIT – IV – XXXXXXXXXXXXXXXXX
(Short – Key notes for the slow learners – Preferably Answers for Part – B Questions from
the Question Bank)
UNIT – V – XXXXXXXXXXXXXXXXX
(Short – Key notes for the slow learners – Preferably Answers for Part – B Questions from
the Question Bank)