Data Structures Syllabus
Data Structures Syllabus
L T P C
3 0 2 4
PREREQUISITE KNOWLEDGE:
MODULE -1
UNIT-1 8L+0T+8P=16 Hours
INTRODUCTION
Data Structures Basics: Basic terminology data, information, datatype; Data Structures
Introduction, storage structures- sequential and linked storage representations; classification of data
structures; Applications of data structures.
Searching: Linear Search and Binary Search
Sorting: Selection Sort, Bubble Sort, Insertion Sort, Quick Sort and Merge Sort.
27
PRACTICE PROBLEMS RECURSION LEVEL 2
Implement insertion sort recursively
Write a program to find the numbers less than N that are product of exactly 2 distinct prime
numbers - using recursion
Implement selection sort recursively
Find the middle of a singly linked list using recursion
Find the sum of even numbers of an array using recursion
Check if a given array is in sorted order using recursion
Print alternate nodes of a linked list using recursion
Reverse a doubly linked list using recursion
Write a recursive function that returns all permutations of a given list
Implement bubble sort recursively
28
Write a program to accept a number as input and check if it is divisible by 3. If it is divisible by
3 print YES else print NO
Write a program to accept a number as input and check if it is divisible by both 3 & 5. If it is
divisible print YES else print NO
Write a program to accept a number as input and check if it is positive, negative or zero.
MODULE -2
UNIT -1 8L+0T+8P=16 Hours
TREES & HASHING
Trees: Introduction, Properties, Binary Tree Introduction, properties, array and linked
representations; Tree traversals and their implementation; Expression trees; BST definition and
operations, AVL trees definition and construction; Applications of binary trees.
Hashing: Introduction, Different hash functions, collision-collision avoidance, handling methods
UNIT-2 8L+0T+8P=16 Hours
GRAPHS
Graphs: Introduction, Properties, Graphs representations adjacency matric, adjacency list, set
representation; Traversals - breath first search and depth first search; Applications of graphs.
PRACTICE PROBLEMS ON BST LEVEL 1
Insert function
Insert function (recursive)
Search function
Pre order traversal
Post order traversal
In order traversal
Level order traversal
Delete child node
Delete parent node
Delete nodes greater than a value from a circular doubly linked list
SKILLS:
Experienced to Store data and various types of data to handle
Ordering and sorting of data
Indexing and Searching of required data from large data sequences
Exposed to various characteristics such as Linear or non-linear, Homogeneous or
heterogeneous and Static and Dynamic
31
ACTIVITIES:
Analyze the data structures required for various applications
Implement array or linked lists for a given scenario
Describe pros and cons of each data structure
Implementation of various trees and graphs for a given scenario
COURSE OUTCOMES:
Upon completion of the course, the student will be able to achieve the following outcomes:
No. Course Outcome Blooms PO
Level
1 Understand the organization of several ADTs and the Understand 1
manipulation (searching, insertion, deletion, traversing) of
data stored in various data structures.
2 Apply different data structures to solve a given problem. Apply 1
3 Analyze the efficiency of using different data structures and Analyze 2
choose the efficient data structure for solving a given
problem.
4 Develop new algorithms to solve various problems. Implement 3,4
TEXT BOOK:
nd
1. Edition, Eastern Economic Prentice hall private
limited press, 2000.
REFERENCE BOOKS:
1.
Computer Science Press, 2006.
2.
2nd edition, Addison-Wesley publishing company, 2002.
nd
3. edition, Impression edition,
1998.
32