SlideShare a Scribd company logo
What is Data Structure?
Definition of Data Structure
Data Structure can be defined as the
group of data elements which provides an
efficient way of storing and organizing data in
the computer.
Student Mark Sheet
Dictionary
Google Maps
Latitude & Longitude
Introduction to Data Structure & algorithm
Data Structure Example
Data Structures are the main part of many
computer science algorithms as they enable the
programmers to handle the data in an efficient
way.
Data Structure uses in Computer
Science
1. Operating System
2. Artificial intelligence
3. Computer Graphics
As applications are getting complexes and
amount of data is increasing day by day, there may
arise the following problems:
1. Processor speed :-
To handle very large amount of data, high speed
processing is required, but as the data is growing day
by day to the billions of files per entity, processor
may fail to deal with that much amount of data.
Need of Data Structures
2. Data Search:-
Consider an inventory size of 106 items in a
store, If our application needs to search for a
particular item, it needs to traverse 106 items every
time, results in slowing down the search process.
Need of Data Structures
3. Multiple requests:-
If thousands of users are searching the data
simultaneously on a web server, then there are the
chances that a very large server can be failed during
that process
in order to solve the above problems, data
structures are used. Data is organized to form a data
structure in such a way that all items are not required
to be searched and required data can be searched
instantly.
Need of Data Structures
1. Efficiency: Efficiency of a program depends upon
the choice of data structures.
 For example: suppose, we have some data and we
need to perform the search for a particular record.
Advantages of Data Structures
2. Reusability: Data structures are reusable, i.e. once
we have implemented a particular data structure, we
can use it at any other place.
3. Abstraction: Data structure is specified by the ADT
which provides a level of abstraction. The client
program uses the data structure through interface only,
without getting into the implementation details.
Advantages of Data Structures
Introduction to Data Structure & algorithm
Definition of Algorithm
Dictionary Definition:
A process or Set of Rules to be followed in
calculations or problem-solving operation,
especially by a computer.
Formal Definition:
An algorithm is a finite set of instructions that
are in a specific order to perform specific task.
Characteristics of an Algorithm
1. Input: An algorithm has some input values. We can
pass 0 or some input value to an algorithm.
2. Output: We will get 1 or more output at the end of an
algorithm.
Characteristics of an Algorithm
3. Unambiguity: An algorithm should be unambiguous
which means that the instructions in an algorithm should
be clear and simple.
4. Finiteness: An algorithm should have finiteness. Here,
finiteness means that the algorithm should contain a
limited number of instructions, i.e., the instructions
should be countable.
Characteristics of an Algorithm
5. Effectiveness: An algorithm should be effective as
each instruction in an algorithm affects the overall
process.
6. Language independent: An algorithm must be
language-independent so that the instructions in an
algorithm can be implemented in any of the languages
with the same output.
Dataflow of an Algorithm
1. Problem: A problem can be a real-world
problem or any instance from the real-world
problem for which we need to create a program or
the set of instructions.
2. Algorithm: An algorithm will be designed for a
problem which is a step by step procedure.
Dataflow of an Algorithm
3. Input: After designing an algorithm, the
required and the desired inputs are provided to the
algorithm.
4. Processing unit: The input will be given to the
processing unit, and the processing unit will
produce the desired output.
5. Output: The output is the outcome or the result
of the program.

More Related Content

PPTX
Concurrency control
PPT
Normalization PRESENTATION
PDF
Searching and Sorting Techniques in Data Structure
PPTX
Priority queue in DSA
PPTX
Indexing structure for files
PPTX
PPT
Databases: Normalisation
PPTX
DataSructure-Time and Space Complexity.pptx
Concurrency control
Normalization PRESENTATION
Searching and Sorting Techniques in Data Structure
Priority queue in DSA
Indexing structure for files
Databases: Normalisation
DataSructure-Time and Space Complexity.pptx

What's hot (20)

PPT
Symbol table management and error handling in compiler design
PPTX
Hashing
PDF
Bottom up parser
PPTX
Relational model
PDF
Algorithms Lecture 2: Analysis of Algorithms I
PPTX
Process in operating system
PPTX
Requirements analysis and modeling
PDF
Software Engineering : Requirement Analysis & Specification
PPTX
Major issues in data mining
PPTX
Acid properties
PDF
Binary Search - Design & Analysis of Algorithms
PPTX
2 phase locking protocol DBMS
PPTX
Types of Database Models
PPTX
Integrity Constraints
PPTX
Query processing and optimization (updated)
PPTX
Overview of Storage and Indexing ...
PPTX
Graph in data structure
PPTX
Lexical analysis - Compiler Design
PDF
Run time storage
PPT
Dbms relational model
Symbol table management and error handling in compiler design
Hashing
Bottom up parser
Relational model
Algorithms Lecture 2: Analysis of Algorithms I
Process in operating system
Requirements analysis and modeling
Software Engineering : Requirement Analysis & Specification
Major issues in data mining
Acid properties
Binary Search - Design & Analysis of Algorithms
2 phase locking protocol DBMS
Types of Database Models
Integrity Constraints
Query processing and optimization (updated)
Overview of Storage and Indexing ...
Graph in data structure
Lexical analysis - Compiler Design
Run time storage
Dbms relational model
Ad

Similar to Introduction to Data Structure & algorithm (20)

DOCX
Data Structure Notes unit 1.docx
PDF
Introduction to data structures
PPT
assignment character education assignment
PPTX
Data structure introduction
PPTX
RAJAT PROJECT.pptx
PPTX
Chapter 1 Data structure.pptx
DOC
Program concep sequential statements
PDF
lecture on preliminary on data structore
PDF
Data structures and algorithms Module-1.pdf
PDF
Introduction to data structure and algorithm
PPTX
Introduction to databae eChapter 1-.pptx
PPTX
FALLSEM2024-25_BSTS301P_SS_VL2024250100685_2024-07-26_Reference-Material-I.pptx
PPTX
Data Structures and Algorithm - Module 1.pptx
PDF
Unit I Data structure and algorithms notes
PPTX
Unit 1 Introduction Part 3.pptx
PPTX
Introduction to Data Structure and algorithm.pptx
PPT
Lec1
PPTX
Intro to Data Structure & Algorithms
Data Structure Notes unit 1.docx
Introduction to data structures
assignment character education assignment
Data structure introduction
RAJAT PROJECT.pptx
Chapter 1 Data structure.pptx
Program concep sequential statements
lecture on preliminary on data structore
Data structures and algorithms Module-1.pdf
Introduction to data structure and algorithm
Introduction to databae eChapter 1-.pptx
FALLSEM2024-25_BSTS301P_SS_VL2024250100685_2024-07-26_Reference-Material-I.pptx
Data Structures and Algorithm - Module 1.pptx
Unit I Data structure and algorithms notes
Unit 1 Introduction Part 3.pptx
Introduction to Data Structure and algorithm.pptx
Lec1
Intro to Data Structure & Algorithms
Ad

Recently uploaded (20)

PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
A systematic review of self-coping strategies used by university students to ...
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Pharma ospi slides which help in ospi learning
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Computing-Curriculum for Schools in Ghana
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
Institutional Correction lecture only . . .
PPTX
Lesson notes of climatology university.
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
VCE English Exam - Section C Student Revision Booklet
Microbial disease of the cardiovascular and lymphatic systems
Microbial diseases, their pathogenesis and prophylaxis
A systematic review of self-coping strategies used by university students to ...
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Chinmaya Tiranga quiz Grand Finale.pdf
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
102 student loan defaulters named and shamed – Is someone you know on the list?
Final Presentation General Medicine 03-08-2024.pptx
Pharma ospi slides which help in ospi learning
Module 4: Burden of Disease Tutorial Slides S2 2025
Computing-Curriculum for Schools in Ghana
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Institutional Correction lecture only . . .
Lesson notes of climatology university.
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf

Introduction to Data Structure & algorithm

  • 1. What is Data Structure?
  • 2. Definition of Data Structure Data Structure can be defined as the group of data elements which provides an efficient way of storing and organizing data in the computer.
  • 9. Data Structures are the main part of many computer science algorithms as they enable the programmers to handle the data in an efficient way. Data Structure uses in Computer Science
  • 13. As applications are getting complexes and amount of data is increasing day by day, there may arise the following problems: 1. Processor speed :- To handle very large amount of data, high speed processing is required, but as the data is growing day by day to the billions of files per entity, processor may fail to deal with that much amount of data. Need of Data Structures
  • 14. 2. Data Search:- Consider an inventory size of 106 items in a store, If our application needs to search for a particular item, it needs to traverse 106 items every time, results in slowing down the search process. Need of Data Structures
  • 15. 3. Multiple requests:- If thousands of users are searching the data simultaneously on a web server, then there are the chances that a very large server can be failed during that process in order to solve the above problems, data structures are used. Data is organized to form a data structure in such a way that all items are not required to be searched and required data can be searched instantly. Need of Data Structures
  • 16. 1. Efficiency: Efficiency of a program depends upon the choice of data structures.  For example: suppose, we have some data and we need to perform the search for a particular record. Advantages of Data Structures
  • 17. 2. Reusability: Data structures are reusable, i.e. once we have implemented a particular data structure, we can use it at any other place. 3. Abstraction: Data structure is specified by the ADT which provides a level of abstraction. The client program uses the data structure through interface only, without getting into the implementation details. Advantages of Data Structures
  • 19. Definition of Algorithm Dictionary Definition: A process or Set of Rules to be followed in calculations or problem-solving operation, especially by a computer. Formal Definition: An algorithm is a finite set of instructions that are in a specific order to perform specific task.
  • 20. Characteristics of an Algorithm 1. Input: An algorithm has some input values. We can pass 0 or some input value to an algorithm. 2. Output: We will get 1 or more output at the end of an algorithm.
  • 21. Characteristics of an Algorithm 3. Unambiguity: An algorithm should be unambiguous which means that the instructions in an algorithm should be clear and simple. 4. Finiteness: An algorithm should have finiteness. Here, finiteness means that the algorithm should contain a limited number of instructions, i.e., the instructions should be countable.
  • 22. Characteristics of an Algorithm 5. Effectiveness: An algorithm should be effective as each instruction in an algorithm affects the overall process. 6. Language independent: An algorithm must be language-independent so that the instructions in an algorithm can be implemented in any of the languages with the same output.
  • 23. Dataflow of an Algorithm 1. Problem: A problem can be a real-world problem or any instance from the real-world problem for which we need to create a program or the set of instructions. 2. Algorithm: An algorithm will be designed for a problem which is a step by step procedure.
  • 24. Dataflow of an Algorithm 3. Input: After designing an algorithm, the required and the desired inputs are provided to the algorithm. 4. Processing unit: The input will be given to the processing unit, and the processing unit will produce the desired output. 5. Output: The output is the outcome or the result of the program.