Data Structures - CS25C08 - Notes PDF Download

[ 3rd Semester - CSE, CSE(CY), AIDS, IT Engineering Departments ]

Under Class: | 3rd Semester [CSE Dept Anna University 2025 Regulation] | | 3rd Semester [CSE(CY) Dept Anna University 2025 Regulation] | | 3rd Semester [AIDS Dept Anna University 2025 Regulation] | | 3rd Semester [IT Dept Anna University 2025 Regulation] |

Engineering - Data Structures - CS25C08 Subject (under Anna University 3rd Semester - CSE, CSE(CY), AIDS, IT Engineering Departments Regulation 2025) - Study Materials, Written and lecture Notes, Important Questions, Semester Question Paper PDF Download

Notes - Data Structures - CS25C08
Online Study Materials - BrainKart


Object Oriented Programming and Data Structures


DATA ABSTRACTION and OVERLOADING:


• Overview of C++
• The structure of a C++ program
• Variables
• Initializion
• Overloading
• Container Class
• Static members of a C++ class
• Static Function Members
• Dynamic memory allocation
• Dynamic memory in C
• The Class Constructor
• The Class Destructor
• Variables Initialization
• Functions taking References Parameters
• Scope and Accessing Class Members
• Default Memberwise Assignment
• Structures
• Important Questions and Answers: Data Abstraction & Overloading

INHERITANCE and POLYMORPHISM:


• Inheritance
• Dynamic Binding
• Public, Private, Protected inheritance
• This Pointer
• Abstract classes
• Using Constructors and Destructors in Derived Classes
• Composition vs. Inheritance
• What is virtual function? Explain with an example.
• What is a virtual destructor? Explain the use of it.
• Multiple inheritances with suitable c++ coding
• Polymorphism and Different Types of Polymorphism
• Multiple catch statement with help of suitable C++ coding
• Various file modes and its syntax
• Need for exception with try, catch and throw keywords
• Various forms of inheritance in C++ with necessary coding
• Important Short Questions and Answers: Inheritance and Polymorphism

LINEAR DATA STRUCTURES:


• Abstract Data Type (ADT)
• The List ADT
• Array Based Implementation
• linked lists Implementation
• A singly linked list class The class definition for a node
• Polynomial Multiplication Using Linked List
• Stack ADT and its applications, Applications, Implementations
• Queue ADT and its applications, Applications, Implementations
• Evaluating arithmetic expressions
• How do you analyses an algorithm?
• How pointer are used to implement linked list structure
• Various operation performed on the doubly linked list. Doubly Linked Lists
• Give linked list implementation of stack operation
• What is a stack? Two operations performed on a stack with required algorithm
• Priority Queue
• Heap operations: algorithms, Heap Sort
• Important Short Questions and Answers: Linear Data Structures

NON LINEAR DATA STRUCTURES:


• Tree - abstract data type (ADT)
• Binary tree and Types of binary trees
• Properties of binary trees
• Common operations of binary trees
• Graph and its representations - Tree
• Graph Representations and Traversals - Tree
• Graph Traversals
• Implementation of trees
• Implementation of a Binary Tree with an expression tree
• Breadth First Search
• Application of Depth First Search
• Important short questions and answers: Non-Linear Data Structures

SORTING and SEARCHING:


• Sorting algorithms
• The Insertion Sort
• Quick Sort
• Merge Sort
• Binary Search
• Searching - Linear search
• Detail about Insertion Sort
• Brief note on Merge Sort
• Detail about Quick Sort
• Important short questions and answers: Sorting and Searching

GRAPHS:


• Representation of Graphs
• Breadth First Traversal
• Depth First Traversal
• Topological Sort
• Minimum Spanning Trees
• Kruskal's algorithm
• Prim�s Algorithm
• Shortest Path Algorithms
• Dijkstra�s Algorithm
• Bellman-Ford Algorithm
• Floyd - Warshall Algorithm




Programming and Data Structure II



OBJECT ORIENTED PROGRAMMING FUNDAMENTALS:


• C++ Programming Features
• Data Abstraction
• Data encapsulation
• Class
• Objects
• Constructor
• Static Members
• Constant Members
• Member Functions
• Pointers
• References
• Role of this Pointer
• Storage class
• Function as Arguments

OBJECT ORIENTED PROGRAMMING CONCEPTS:


• String Handling
• Copy Constructor
• Polymorphism
• Function Overloading
• Operator Overloading
• Dynamic Memory Allocation
• Nested Classes
• Inheritance and its Type
• Virtual Functions

C Plus PROGRAMMING ADVANCED FEATURES:


• Abstract Class
• Exception Handling
• Standard Libraries
• Generic Programming
• Templates: Class and function templates
• Containers
• Iterators
• Function Adaptors
• Allocators
• Parameterizing the Classes
• File Handling Concepts

ADVANCED NON LINEAR DATA STRUCTURES:


• Tree Introduction
• Binary Tree ADT: Implementation, Types, Application, Comparison
• Binary search tree ADT
• AVL Trees
• B-trees
• Red�black tree
• Splay trees
• Binomial Heaps
• Fibonacci Heaps
• Disjoint Sets data structure
• Amortized analysis
• Accounting Method
• Potential Method
• Aggregate Analysis

GRAPHS:


• Representation of Graphs
• Breadth First Traversal
• Depth First Traversal
• Topological Sort
• Minimum Spanning Trees
• Kruskal's algorithm
• Prim�s Algorithm
• Shortest Path Algorithms
• Dijkstra�s Algorithm
• Bellman-Ford Algorithm
• Floyd - Warshall Algorithm





 

CS25C08:

Data Structures


Course Objectives: This course presents various data structures and their importance to provide a comprehensive view about problem solving skills.

 

Linear Data Structures: Abstract Data Types- Internal Representation of Primitive Data Structures- One Dimensional and Multi-Dimensional Arrays- linear lists- Singly, doubly, Circular linked lists- Applications.

Practicals

• Single and Multidimensional arrays

• Singly, Doubly and Circular Linked Lists


Stacks and Queues: Stack: Representations – Operations – Implementations – Applications.

Queue: Representations – Operations – Implementations – Types - Applications.

Practicals

• String reverse operations and Expression evaluation

• Circular Queue and Priority Queue

 

Trees: Representations – Types – Binary Search Trees (BSTs) - AVL Tree – Operations: Search, Traversals, Rotations - Balanced BSTs- Splay trees- B-trees- Binary Heaps.

Practicals

• Traversal operation

• AVL Tree rotations

• Query and Update operations on Balanced BSTs

 

Sorting, Searching & Hashing Techniques: Linear and Binary Search - Bubble Sort - Insertion Sort- Merge Sort- Bucket Sort- Quick Sort- Heap sort- Hashing techniques- Dictionaries- Hash function- Collision - Separate chaining- open addressing.

Practicals

• Quick and Heap Sort

• Binary Search and Hashing

 

Graphs: Representation - Types – Operations - Prim’s, Kruskal algorithms - Dijikstra’s algorithm – Connected and Biconnected Components.

Practicals

• BFS and DFS algorithms

• Minimum Spanning Tree and shortest path algorithms

 

Assessment Weightage:

Weightage:

Continuous Assessment: 50%

(i) . Activities: 10%

(ii) . Internal Theory Examinations: 30%

(iii) .Internal Laboratory Examination: 10%

End Semester Theory Examination: 50%

Mandated Activities with marks:

Assignments (30), Quiz (10), Project based learning (25), Flipped Classroom (10), Review of GATE questions (25).

Internal Examinations: TWO tests

 

References

1. Gilberg, R. F., & Forouzan, B. A, “Data Structures: A Pseudocode Approach”, Cengage Learning India Private Limited, 2023

2. Mark Allen Weiss, “Data Structures and Algorithm Analysis in C++”, 4th Edition, Pearson, 2014.

3. Alfred V. Aho, John E. Hopcroft, Jeffrey D. Ullman, “Data Structures and Algorithms”, Pearson, 2001.

4. D.S. Malik, Data Structures Using C++, 2nd Edition, Cengage, 2012.