CS8391-
DATA
STRUCTURES
DATA STRUCTRE?
Algorithm = Logic + Control
Data Structures + Algorithms
Data Structure = A Container stores
Data
A Data Structure is a particular way of organizing data in a computer so that can be
used effectively. Eg: Sorting
WHY DATA STRUCTURE IS NEEDED?
Internet
More Amount of data was created by Netizens.
Need to store the data and manipulate data in efficient way
Before you start
SOFTWARE
HARDWARE
Classification of Data Structure
M.Madan Mohan, AP/CSE -
CS8351 - DATA STRUCTURES
5
• Primitive Data Structure:
• A Primitive Data Structure used to represent the standard data types of any one of the computer
languages (integer, Character, float etc.).
• Non - Primitive Data Structure :
• A Primitive Data Structure can be constructed with the help of any one of the primitive data
structure.
• It can be structure and it is having a specific functionality.
• It can be designed by user.
• It can be classified as Linear and Non-Linear Data Structure.
Linear Data Structures:
A linear data structure traverses the data elements sequentially, in which only one data element can
directly be reached.
Ex: Arrays, Linked Lists ,Stacks, Queues
Non-Linear Data Structures:
Every data item is attached to several other data items in a way that is specific for reflecting
relationships. The data items are not arranged in a sequential structure.
Ex: Trees, Graphs ,Heaps
M.Madan Mohan, AP/CSE -
CS8351 - DATA STRUCTURES
6
Operations on Data Structures
• The basic operations that are performed on data structures are as follows:
• Traversal: Traversal of a data structure means processing all the data elements
present in it exactly once.
• Insertion: Insertion means addition of a new data element in a data structure.
• Deletion: Deletion means removal of a data element from a data structure if it is
found.
• Searching: Searching involves searching for the specified data element in a data
structure.
• Sorting: Arranging data elements of a data structure in a specified order is called
sorting.
• Merging: Combining elements of two similar data structures to form a new data
structure of the same type, is called merging.
Abstract Data
Types (ADTs) –
List ADT
NEXT CLASS
THANK YOU
Incase of any queries Mail to nietmadanmohancse@nehrucolleges.com

Unit 1 - DATA STRUCTURES INTRODUCATION - I

  • 1.
  • 2.
    DATA STRUCTRE? Algorithm =Logic + Control Data Structures + Algorithms Data Structure = A Container stores Data A Data Structure is a particular way of organizing data in a computer so that can be used effectively. Eg: Sorting
  • 3.
    WHY DATA STRUCTUREIS NEEDED? Internet More Amount of data was created by Netizens. Need to store the data and manipulate data in efficient way Before you start SOFTWARE HARDWARE
  • 4.
  • 5.
    M.Madan Mohan, AP/CSE- CS8351 - DATA STRUCTURES 5 • Primitive Data Structure: • A Primitive Data Structure used to represent the standard data types of any one of the computer languages (integer, Character, float etc.). • Non - Primitive Data Structure : • A Primitive Data Structure can be constructed with the help of any one of the primitive data structure. • It can be structure and it is having a specific functionality. • It can be designed by user. • It can be classified as Linear and Non-Linear Data Structure. Linear Data Structures: A linear data structure traverses the data elements sequentially, in which only one data element can directly be reached. Ex: Arrays, Linked Lists ,Stacks, Queues Non-Linear Data Structures: Every data item is attached to several other data items in a way that is specific for reflecting relationships. The data items are not arranged in a sequential structure. Ex: Trees, Graphs ,Heaps
  • 6.
    M.Madan Mohan, AP/CSE- CS8351 - DATA STRUCTURES 6 Operations on Data Structures • The basic operations that are performed on data structures are as follows: • Traversal: Traversal of a data structure means processing all the data elements present in it exactly once. • Insertion: Insertion means addition of a new data element in a data structure. • Deletion: Deletion means removal of a data element from a data structure if it is found. • Searching: Searching involves searching for the specified data element in a data structure. • Sorting: Arranging data elements of a data structure in a specified order is called sorting. • Merging: Combining elements of two similar data structures to form a new data structure of the same type, is called merging.
  • 8.
    Abstract Data Types (ADTs)– List ADT NEXT CLASS
  • 9.
    THANK YOU Incase ofany queries Mail to nietmadanmohancse@nehrucolleges.com