Data Structure And Algorithm
Prf. Purvi Prajapati
Department Of Information Technology
CSPIT, CHARUSAT
Outline
 Introduction
 Algorithm
 Data & Information
 Data Structure
 Data Type
 Types of Data Type
 Importance of Data Structure
 Types of Data Structure
Introduction
 Algorithm:
 a set of instructions for solving a problem in
a finite number of steps.
[From : https://www.dictionary.com]
 Step-by-step procedures required to solve a problem.
For example, to find the largest number in a list of
positive numbers.
Algorithm
Al Khawarizmi
 A great Iranian mathematician,
geographer and astronomer. He
introduced the zero, negative
numbers, algebra and the
decimal system. He also
invented mathematical
programming using a set of
instructions to perform
complex calculations.
 The term algorithm is named
after a variation of his name,
Algorithmi.
Algorithm
Algorithm is a step-by-step finite sequence of
instruction, to solve a well defined computational
problem for the given Input and expected Output.
Data & Information
 Data means value or a set of values.
 35
 21/12/2016,
 “CHARUSAT”
 12, 18, 24, 32
 Information means meaningful or processed data.
 35 Age of a person
 21/12/2016 Date of Birth
 “CHARUSAT” Name of the University
 12, 18, 14, 30 Marks of a subject
DATA
Procedure to
process data
Info-1
Info-2
Info-3
.
.
.
Info-n
Data Structure
 Data: Data is set of items
 Structure: How to organize data (A particular way of
organizing data in computer)
 A data structure is a method for organizing and
storing data, which would allow efficient data
retrieval and usage.
Data Structure
“I will, in fact, claim that the difference between a
bad programmer and a good one is whether he
considers his code or his data structures more
important. Bad programmers worry about the
code. Good programmers worry about data
structures and their relationships. ”
- Linus Torvalds (creator of Linux)
Algorithm + Data Structure = Program
-By Niklaus Wirth
 Program:
An implementation of
an algorithm in some
programming language
Data Type
 Data type is a term which refers to the kind of
data. That may appear in computation.
 35 Numeric (integer)
 21/12/2016 Date
 “CHARUSAT” String
 12, 18, 14, 30 Array of integers
Types of Data Type
Data Type
Built-in Data Type
(BDT)
Abstract / User-defined
DataType(ADT / UDT)
int
char
float
double
struct
union
class
Primitive
Non-
Primitive
Importance of Data Structure
 In computer, manipulation of primitive data
does not require any extra effort on the part of
user.
 In real-life applications, various kinds of data
other than primitive data are involved. So,
manipulation of real-life data requires following
tasks:
1. Storage representation of data
2. Retrieval of stored data
3. Transformation of data
Importance of Data Structure
 Data Structure is used for
 How the data should be organized in the memory
 How the flow of data should be controlled
 How efficiently it can be retrieved and manipulated
 How data should be designed and implemented to reduce
the complexity and increase the efficiency of the algorithm
Types of Data Structure
 Basically there are two types of Data Structures:
1) Primitive Data Structures
2) Non Primitive Data Structures
 Primitive Data Structures are in built data
structures for every programming languages.
 Non-Primitive Data Structures are user defined
data structures.
Types of Data Structure
DATA STRUCTURE
PRIMITIVE NON-PRIMITIVE
LINEAR NON-LINEAR
Array
Stack
Queue
Linked List
Tree
Graph
Table
Character
Integer
Floating point
Types of Non-primitive Data Structure
 Linear Data Structures :
 Elements are stored/accessed in sequential manner
from the computer’s memory.
 Non-linear Data Structures :
 Elements are stored randomly in computer’s memory.
References
 Classic Data structures, D. Samanta, Prentice-
Hall International.
 An Introduction to Data Structures with
Applications, Jean-Paul Tremblay, Paul G.
Sorenson, McGraw-hill.
 Data Structures using C & C++, Ten Baum,
Prentice-Hall International.
 Study materials prepared by Prof. Chintan
Gajjar.
Thank You…..

More Related Content

DOC
Difference between ER-Modeling and Dimensional Modeling
PPT
Dwdmunit1 a
PDF
Data Warehouse Designing: Dimensional Modelling and E-R Modelling
DOC
2005)
DOCX
Dimensional data model
PPTX
Data modeling dbms
PPTX
Evolution of big data
DOCX
Database
Difference between ER-Modeling and Dimensional Modeling
Dwdmunit1 a
Data Warehouse Designing: Dimensional Modelling and E-R Modelling
2005)
Dimensional data model
Data modeling dbms
Evolution of big data
Database

What's hot (20)

DOCX
DataMining Techniq
PPT
Data Mining
PPT
Data Mining Concepts
PPTX
Data science | What is Data science
PPTX
Multidimensioal database
PPTX
2 Data-mining process
PDF
Semantically Enriched Knowledge Extraction With Data Mining
PPTX
Intro to Data warehousing lecture 17
PPTX
5 data preparation and processing2
PPT
E-R vs Starschema
PPTX
data warehousing and data mining
PDF
International Refereed Journal of Engineering and Science (IRJES)
PDF
Creating Effective Data Visualizations in Excel 2016: Some Basics
PPTX
Sources of data
DOCX
sheethal_kamath
PPTX
Database tachnologies
PPT
DATA STRUCTURE AND ALGORITHMS
PDF
Data Mining: A Short Survey
PDF
03. Data Preprocessing
DataMining Techniq
Data Mining
Data Mining Concepts
Data science | What is Data science
Multidimensioal database
2 Data-mining process
Semantically Enriched Knowledge Extraction With Data Mining
Intro to Data warehousing lecture 17
5 data preparation and processing2
E-R vs Starschema
data warehousing and data mining
International Refereed Journal of Engineering and Science (IRJES)
Creating Effective Data Visualizations in Excel 2016: Some Basics
Sources of data
sheethal_kamath
Database tachnologies
DATA STRUCTURE AND ALGORITHMS
Data Mining: A Short Survey
03. Data Preprocessing
Ad

Similar to Introduction to data_structure (20)

PPTX
Data Structure and Algorithms
PPTX
DS.pptx
PDF
Lesson 1 - Data Structures and Algorithms Overview.pdf
PPTX
1. Introduction to Data Structure.pptx
PPTX
EE-232-LEC-01 Data_structures.pptx
PPTX
Introduction to Data Structure and its type: Primitive and Non Primitive, ADT
PDF
01VD062009003760042.pdf
PDF
Data Structure - 2 Introduction of Data Structure
PPTX
Introduction-to-Data-Structure-and-Algorithm.pptx
PPTX
Data structures lectures no 1
PPTX
INTRODUCTION TO DATA STRUCTURE & ABSTRACT DATA TYPE.pptx
PPTX
Introduction to Data Structures
PDF
Unit-I PPT hususi sisooshsgv. Eijeieieooekejj
PPT
Introduction To Data Structures.ppt
PPTX
8.unit-1-fds-2022-23.pptx
PDF
A REVIEW DATA STRUCTURE , ALGORITHMS & ANALYSIS
PDF
3130703dsgtudarshan Enotesallunits Darshan Institute Of Engineering Technology
PPTX
Unit-1 DataStructure Intro.pptx
PPTX
Lecture 1.pptxffffffffffffffcfffffffffff
PPTX
Chapter 1 _edited.pptx.software engineering
Data Structure and Algorithms
DS.pptx
Lesson 1 - Data Structures and Algorithms Overview.pdf
1. Introduction to Data Structure.pptx
EE-232-LEC-01 Data_structures.pptx
Introduction to Data Structure and its type: Primitive and Non Primitive, ADT
01VD062009003760042.pdf
Data Structure - 2 Introduction of Data Structure
Introduction-to-Data-Structure-and-Algorithm.pptx
Data structures lectures no 1
INTRODUCTION TO DATA STRUCTURE & ABSTRACT DATA TYPE.pptx
Introduction to Data Structures
Unit-I PPT hususi sisooshsgv. Eijeieieooekejj
Introduction To Data Structures.ppt
8.unit-1-fds-2022-23.pptx
A REVIEW DATA STRUCTURE , ALGORITHMS & ANALYSIS
3130703dsgtudarshan Enotesallunits Darshan Institute Of Engineering Technology
Unit-1 DataStructure Intro.pptx
Lecture 1.pptxffffffffffffffcfffffffffff
Chapter 1 _edited.pptx.software engineering
Ad

Recently uploaded (20)

PPTX
wireless networks, mobile computing.pptx
PPTX
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
PPTX
ai_satellite_crop_management_20250815030350.pptx
PDF
Computer System Architecture 3rd Edition-M Morris Mano.pdf
PPTX
Principal presentation for NAAC (1).pptx
PPTX
Feature types and data preprocessing steps
PDF
UEFA_Carbon_Footprint_Calculator_Methology_2.0.pdf
PDF
August 2025 - Top 10 Read Articles in Network Security & Its Applications
PPTX
Building constraction Conveyance of water.pptx
PDF
August -2025_Top10 Read_Articles_ijait.pdf
PDF
Java Basics-Introduction and program control
PDF
Applications of Equal_Area_Criterion.pdf
PPTX
Module 8- Technological and Communication Skills.pptx
PDF
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
PDF
UEFA_Embodied_Carbon_Emissions_Football_Infrastructure.pdf
PDF
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
PPTX
Amdahl’s law is explained in the above power point presentations
PDF
20250617 - IR - Global Guide for HR - 51 pages.pdf
PDF
Unit I -OPERATING SYSTEMS_SRM_KATTANKULATHUR.pptx.pdf
PPTX
Software Engineering and software moduleing
wireless networks, mobile computing.pptx
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
ai_satellite_crop_management_20250815030350.pptx
Computer System Architecture 3rd Edition-M Morris Mano.pdf
Principal presentation for NAAC (1).pptx
Feature types and data preprocessing steps
UEFA_Carbon_Footprint_Calculator_Methology_2.0.pdf
August 2025 - Top 10 Read Articles in Network Security & Its Applications
Building constraction Conveyance of water.pptx
August -2025_Top10 Read_Articles_ijait.pdf
Java Basics-Introduction and program control
Applications of Equal_Area_Criterion.pdf
Module 8- Technological and Communication Skills.pptx
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
UEFA_Embodied_Carbon_Emissions_Football_Infrastructure.pdf
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
Amdahl’s law is explained in the above power point presentations
20250617 - IR - Global Guide for HR - 51 pages.pdf
Unit I -OPERATING SYSTEMS_SRM_KATTANKULATHUR.pptx.pdf
Software Engineering and software moduleing

Introduction to data_structure

  • 1. Data Structure And Algorithm Prf. Purvi Prajapati Department Of Information Technology CSPIT, CHARUSAT
  • 2. Outline  Introduction  Algorithm  Data & Information  Data Structure  Data Type  Types of Data Type  Importance of Data Structure  Types of Data Structure
  • 3. Introduction  Algorithm:  a set of instructions for solving a problem in a finite number of steps. [From : https://www.dictionary.com]  Step-by-step procedures required to solve a problem. For example, to find the largest number in a list of positive numbers.
  • 4. Algorithm Al Khawarizmi  A great Iranian mathematician, geographer and astronomer. He introduced the zero, negative numbers, algebra and the decimal system. He also invented mathematical programming using a set of instructions to perform complex calculations.  The term algorithm is named after a variation of his name, Algorithmi.
  • 5. Algorithm Algorithm is a step-by-step finite sequence of instruction, to solve a well defined computational problem for the given Input and expected Output.
  • 6. Data & Information  Data means value or a set of values.  35  21/12/2016,  “CHARUSAT”  12, 18, 24, 32  Information means meaningful or processed data.  35 Age of a person  21/12/2016 Date of Birth  “CHARUSAT” Name of the University  12, 18, 14, 30 Marks of a subject DATA Procedure to process data Info-1 Info-2 Info-3 . . . Info-n
  • 7. Data Structure  Data: Data is set of items  Structure: How to organize data (A particular way of organizing data in computer)  A data structure is a method for organizing and storing data, which would allow efficient data retrieval and usage.
  • 8. Data Structure “I will, in fact, claim that the difference between a bad programmer and a good one is whether he considers his code or his data structures more important. Bad programmers worry about the code. Good programmers worry about data structures and their relationships. ” - Linus Torvalds (creator of Linux)
  • 9. Algorithm + Data Structure = Program -By Niklaus Wirth  Program: An implementation of an algorithm in some programming language
  • 10. Data Type  Data type is a term which refers to the kind of data. That may appear in computation.  35 Numeric (integer)  21/12/2016 Date  “CHARUSAT” String  12, 18, 14, 30 Array of integers
  • 11. Types of Data Type Data Type Built-in Data Type (BDT) Abstract / User-defined DataType(ADT / UDT) int char float double struct union class Primitive Non- Primitive
  • 12. Importance of Data Structure  In computer, manipulation of primitive data does not require any extra effort on the part of user.  In real-life applications, various kinds of data other than primitive data are involved. So, manipulation of real-life data requires following tasks: 1. Storage representation of data 2. Retrieval of stored data 3. Transformation of data
  • 13. Importance of Data Structure  Data Structure is used for  How the data should be organized in the memory  How the flow of data should be controlled  How efficiently it can be retrieved and manipulated  How data should be designed and implemented to reduce the complexity and increase the efficiency of the algorithm
  • 14. Types of Data Structure  Basically there are two types of Data Structures: 1) Primitive Data Structures 2) Non Primitive Data Structures  Primitive Data Structures are in built data structures for every programming languages.  Non-Primitive Data Structures are user defined data structures.
  • 15. Types of Data Structure DATA STRUCTURE PRIMITIVE NON-PRIMITIVE LINEAR NON-LINEAR Array Stack Queue Linked List Tree Graph Table Character Integer Floating point
  • 16. Types of Non-primitive Data Structure  Linear Data Structures :  Elements are stored/accessed in sequential manner from the computer’s memory.  Non-linear Data Structures :  Elements are stored randomly in computer’s memory.
  • 17. References  Classic Data structures, D. Samanta, Prentice- Hall International.  An Introduction to Data Structures with Applications, Jean-Paul Tremblay, Paul G. Sorenson, McGraw-hill.  Data Structures using C & C++, Ten Baum, Prentice-Hall International.  Study materials prepared by Prof. Chintan Gajjar.

Editor's Notes

  • #7: We are living in Information Age. Everything around us is information. Information Technology requires information. But for information we have to store data somewhere. How can we store data? After processing on data we will get information. Data can be normal data or complex data. Why storing data is important? : Proper storing and efficient Fetching gives efficient performance in future. We have to store data in such a way that will be easier to fetch it , process it and to store at some other location. That’s why we need data structure. Data Structure is all about efficient storage so we can use it efficiently to get information.
  • #10: Every programming language has inbuilt data structure.