SlideShare a Scribd company logo
Tuesday, March 28,
2023
1
Data Structures & Algorithms
Represented By
Nale Rajesh K.
(Lecturer COE Malegaon (Bk))
Introduction To Data
Structures
Tuesday, March 28,
2023
2
What is Data.?
 In computing, data is information that has
been translated into a form that is more
convenient to move or process.
 Relative to today's computers and
transmission media, data is information
converted into binary digital form.
 Distinct pieces of information, usually
formatted in a special way.
Tuesday, March 28,
2023
3
Data Objects
 Anything that exists in storage and on
which operations can be performed.
 Examples include files, Programs and
arrays.
Tuesday, March 28,
2023
4
Data Types
 The mathematical properties and
internal representation of data and
functions.
 An attribute used for defining data as
numeric or character.
Tuesday, March 28,
2023
5
A Data Type is characterized by..
 a set of values
 a data representation, which is
common to all these values, and
 a set of operations, which can be
applied uniformly to all these
values
Tuesday, March 28,
2023
6
Abstract Data Types
 An Abstract Data Type (ADT) is:
 a user defined data type
 a set of values
 a set of operations, which can be applied
uniformly to all these values.
Tuesday, March 28,
2023
7
ADT = properties + operations
 An ADT describes a set of objects sharing
the same properties and behaviors
 The properties of an ADT are its data
(representing the internal state of each object
 double d; -- bits representing
exponent & mantissa are its data or state
 The behaviors of an ADT are its operations or
functions (operations on each instance)
 sqrt(d) / 2; //operators & functions are
its behaviors
Tuesday, March 28,
2023
8
Benefits Of ADT
 encapsulation: less to worry about
 division of labor
 promotes code sharing
 cheaper sub-contracts
 facilitates unit-testing
Tuesday, March 28,
2023
9
List Abstract Data Type (ADT)
 The List ADT models a
sequence of positions
storing arbitrary objects
 It establishes a
before/after relation
between positions
 Can be implemented in
various ways:
 array
 singly-linked
 doubly-linked
 Accessor methods:
 first(), last()
 prev(p), next(p)
 Update methods:
 replace(p, e)
 insertBefore(p, e),
insertAfter(p, e),
 insertFirst(e), insertLast(e)
 remove(p)
 convenience methods:
 isEmpty()
Tuesday, March 28,
2023
10
Data Structures
 Arrangement of data in computer’s
memory.
 Goal: to organize data
 Criteria: to facilitate efficient
 storage of data
 retrieval of data
 manipulation of data
 Design Issue:
 select and design appropriate data types.
Tuesday, March 28,
2023
11
Primitive & Non-Primitive
 Primitive Data Structures
 Data can be structured at the most primitive level, where they
are directly operated upon by machine-level instructions.
 At this level, data may be character or numeric, and numeric
data may consist of integers or real numbers.
 Non-Primitive Data Structures
 Non-primitive data structures can be classified as arrays, lists,
and files.
 An array is an ordered set which contains a fixed number of
objects.
 A list, by contrast, is an ordered set consisting of a variable
number of elements.
 A file is typically a large list that is stored in the external
memory of a computer.
Tuesday, March 28,
2023
12
Linear & Non-Linear
 Linear Data Structure
 Linear data structure is linear if element is adjacent to each
other. It has exactly two neighbors elements to which it is
connected as its previous and next member
 Array , Linked List , Stack , Queuenumbers.
 Non- Linear Data Structures
 Non-Linear data structure is that if one element can be
connected to more than two adjacent element then it is
known as non-linear data structure..
 Tree , Graph
Tuesday, March 28,
2023
13
Static Data Structures
 a simple data structure, the array is
static data structure.
 They are linear only
 They're essentially fixed-size.
 They often use too much space.
Tuesday, March 28,
2023
14
Dynamic Data Structure
 Is one that can grow or shrink as needed to
contain the data you want stored.
 That is, you can allocate new storage when
it's needed and discard that storage when
you're done with it.
 malloc(), calloc() functions in C language.
 Dynamic data structures generally consist
of at least some simple data storage, along
with a linkage to the next element in the
structure.
 These links are often called pointers, or
references.
Tuesday, March 28,
2023
15
Persistent & Ephemeral
 Persistent
 One that is continue in existence
 Ephemeral
 lasting or of use for only a short time;
transitory
Ad

More Related Content

Similar to Introduction To Data Structures.ppt (20)

Data Structures & Algorithms
Data Structures & AlgorithmsData Structures & Algorithms
Data Structures & Algorithms
Ain-ul-Moiz Khawaja
 
Lesson 1 - Data Structures and Algorithms Overview.pdf
Lesson 1 - Data Structures and Algorithms Overview.pdfLesson 1 - Data Structures and Algorithms Overview.pdf
Lesson 1 - Data Structures and Algorithms Overview.pdf
LeandroJrErcia
 
Introduction of data structures and algorithms
Introduction of data structures and algorithmsIntroduction of data structures and algorithms
Introduction of data structures and algorithms
VinayKumarV16
 
data structures and algorithm Cha 1and 2.doc
data structures and algorithm Cha 1and 2.docdata structures and algorithm Cha 1and 2.doc
data structures and algorithm Cha 1and 2.doc
ephremmulu486
 
dsa.ppt
dsa.pptdsa.ppt
dsa.ppt
ansariparveen06
 
Lect 1-2 Zaheer Abbas
Lect 1-2 Zaheer AbbasLect 1-2 Zaheer Abbas
Lect 1-2 Zaheer Abbas
Information Technology Center
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
Shaista Qadir
 
INTRODUCTION TO DATA STRUCTURE & ABSTRACT DATA TYPE.pptx
INTRODUCTION TO  DATA STRUCTURE & ABSTRACT DATA TYPE.pptxINTRODUCTION TO  DATA STRUCTURE & ABSTRACT DATA TYPE.pptx
INTRODUCTION TO DATA STRUCTURE & ABSTRACT DATA TYPE.pptx
talhaarif554
 
Lecture 1_Introduction.pptx
Lecture 1_Introduction.pptxLecture 1_Introduction.pptx
Lecture 1_Introduction.pptx
samuelmuigai7
 
Data Management
Data ManagementData Management
Data Management
Ian Jasper Mangampo
 
DATA STRUCTURE AND ALGORITHMS
DATA STRUCTURE AND ALGORITHMS DATA STRUCTURE AND ALGORITHMS
DATA STRUCTURE AND ALGORITHMS
removed_8057d320f6c8601c14a895598b86eacb
 
Ch1
Ch1Ch1
Ch1
OmarFarukh3
 
UNIT II.docx
UNIT II.docxUNIT II.docx
UNIT II.docx
Revathiparamanathan
 
Data structures and algorithms short note (version 14).pd
Data structures and algorithms short note (version 14).pdData structures and algorithms short note (version 14).pd
Data structures and algorithms short note (version 14).pd
Nimmi Weeraddana
 
database concepts pdf :BEMIT
database concepts pdf :BEMITdatabase concepts pdf :BEMIT
database concepts pdf :BEMIT
Usman Mchinja
 
Unit 1 Data Structures Introduction L1.pptx
Unit 1 Data Structures Introduction L1.pptxUnit 1 Data Structures Introduction L1.pptx
Unit 1 Data Structures Introduction L1.pptx
dummysharma1
 
2. Chapter Two.pdf
2. Chapter Two.pdf2. Chapter Two.pdf
2. Chapter Two.pdf
fikadumola
 
Chapter 1 Introduction to Data Structures and Algorithms.pdf
Chapter 1 Introduction to Data Structures and Algorithms.pdfChapter 1 Introduction to Data Structures and Algorithms.pdf
Chapter 1 Introduction to Data Structures and Algorithms.pdf
Axmedcarb
 
1introduction-191021211508Algorithms and data structures.pptx
1introduction-191021211508Algorithms and data structures.pptx1introduction-191021211508Algorithms and data structures.pptx
1introduction-191021211508Algorithms and data structures.pptx
smartashammari
 
D B M S Animate
D B M S AnimateD B M S Animate
D B M S Animate
Indu George
 
Lesson 1 - Data Structures and Algorithms Overview.pdf
Lesson 1 - Data Structures and Algorithms Overview.pdfLesson 1 - Data Structures and Algorithms Overview.pdf
Lesson 1 - Data Structures and Algorithms Overview.pdf
LeandroJrErcia
 
Introduction of data structures and algorithms
Introduction of data structures and algorithmsIntroduction of data structures and algorithms
Introduction of data structures and algorithms
VinayKumarV16
 
data structures and algorithm Cha 1and 2.doc
data structures and algorithm Cha 1and 2.docdata structures and algorithm Cha 1and 2.doc
data structures and algorithm Cha 1and 2.doc
ephremmulu486
 
INTRODUCTION TO DATA STRUCTURE & ABSTRACT DATA TYPE.pptx
INTRODUCTION TO  DATA STRUCTURE & ABSTRACT DATA TYPE.pptxINTRODUCTION TO  DATA STRUCTURE & ABSTRACT DATA TYPE.pptx
INTRODUCTION TO DATA STRUCTURE & ABSTRACT DATA TYPE.pptx
talhaarif554
 
Lecture 1_Introduction.pptx
Lecture 1_Introduction.pptxLecture 1_Introduction.pptx
Lecture 1_Introduction.pptx
samuelmuigai7
 
Data structures and algorithms short note (version 14).pd
Data structures and algorithms short note (version 14).pdData structures and algorithms short note (version 14).pd
Data structures and algorithms short note (version 14).pd
Nimmi Weeraddana
 
database concepts pdf :BEMIT
database concepts pdf :BEMITdatabase concepts pdf :BEMIT
database concepts pdf :BEMIT
Usman Mchinja
 
Unit 1 Data Structures Introduction L1.pptx
Unit 1 Data Structures Introduction L1.pptxUnit 1 Data Structures Introduction L1.pptx
Unit 1 Data Structures Introduction L1.pptx
dummysharma1
 
2. Chapter Two.pdf
2. Chapter Two.pdf2. Chapter Two.pdf
2. Chapter Two.pdf
fikadumola
 
Chapter 1 Introduction to Data Structures and Algorithms.pdf
Chapter 1 Introduction to Data Structures and Algorithms.pdfChapter 1 Introduction to Data Structures and Algorithms.pdf
Chapter 1 Introduction to Data Structures and Algorithms.pdf
Axmedcarb
 
1introduction-191021211508Algorithms and data structures.pptx
1introduction-191021211508Algorithms and data structures.pptx1introduction-191021211508Algorithms and data structures.pptx
1introduction-191021211508Algorithms and data structures.pptx
smartashammari
 

More from NALESVPMEngg (17)

02-use_cases in Unified modeling languages
02-use_cases in Unified modeling languages02-use_cases in Unified modeling languages
02-use_cases in Unified modeling languages
NALESVPMEngg
 
15 march -22 march 2024 short term program
15 march -22 march 2024 short term program15 march -22 march 2024 short term program
15 march -22 march 2024 short term program
NALESVPMEngg
 
Unit I _ Lecture PPT INTRODUCTION TO IOT PPT (2).pptx
Unit I _ Lecture PPT INTRODUCTION TO IOT PPT (2).pptxUnit I _ Lecture PPT INTRODUCTION TO IOT PPT (2).pptx
Unit I _ Lecture PPT INTRODUCTION TO IOT PPT (2).pptx
NALESVPMEngg
 
bstract Point processing uses only the information in individual pixels to pr...
bstract Point processing uses only the information in individual pixels to pr...bstract Point processing uses only the information in individual pixels to pr...
bstract Point processing uses only the information in individual pixels to pr...
NALESVPMEngg
 
a simple idealized machine used to recognize patterns within input taken from...
a simple idealized machine used to recognize patterns within input taken from...a simple idealized machine used to recognize patterns within input taken from...
a simple idealized machine used to recognize patterns within input taken from...
NALESVPMEngg
 
Stemming is one of several text normalization techniques that converts raw te...
Stemming is one of several text normalization techniques that converts raw te...Stemming is one of several text normalization techniques that converts raw te...
Stemming is one of several text normalization techniques that converts raw te...
NALESVPMEngg
 
Information retrieval is the process of accessing data resources. Usually doc...
Information retrieval is the process of accessing data resources. Usually doc...Information retrieval is the process of accessing data resources. Usually doc...
Information retrieval is the process of accessing data resources. Usually doc...
NALESVPMEngg
 
Information retrieval is the process of accessing data resources. Usually doc...
Information retrieval is the process of accessing data resources. Usually doc...Information retrieval is the process of accessing data resources. Usually doc...
Information retrieval is the process of accessing data resources. Usually doc...
NALESVPMEngg
 
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
NALESVPMEngg
 
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
NALESVPMEngg
 
Activity diagrams show the flow of one activity to another within a system or...
Activity diagrams show the flow of one activity to another within a system or...Activity diagrams show the flow of one activity to another within a system or...
Activity diagrams show the flow of one activity to another within a system or...
NALESVPMEngg
 
Activity diagrams show the flow of one activity to another within a system or...
Activity diagrams show the flow of one activity to another within a system or...Activity diagrams show the flow of one activity to another within a system or...
Activity diagrams show the flow of one activity to another within a system or...
NALESVPMEngg
 
Introduction to Csharp (C-Sharp) is a programming language developed by Micro...
Introduction to Csharp (C-Sharp) is a programming language developed by Micro...Introduction to Csharp (C-Sharp) is a programming language developed by Micro...
Introduction to Csharp (C-Sharp) is a programming language developed by Micro...
NALESVPMEngg
 
Wk5_UML_ActivityDiagram.pptx
Wk5_UML_ActivityDiagram.pptxWk5_UML_ActivityDiagram.pptx
Wk5_UML_ActivityDiagram.pptx
NALESVPMEngg
 
TutorialUML.pptx
TutorialUML.pptxTutorialUML.pptx
TutorialUML.pptx
NALESVPMEngg
 
6 Use Case Modeling.pptx
6 Use Case Modeling.pptx6 Use Case Modeling.pptx
6 Use Case Modeling.pptx
NALESVPMEngg
 
Introduction To Algorithms.ppt
Introduction To Algorithms.pptIntroduction To Algorithms.ppt
Introduction To Algorithms.ppt
NALESVPMEngg
 
02-use_cases in Unified modeling languages
02-use_cases in Unified modeling languages02-use_cases in Unified modeling languages
02-use_cases in Unified modeling languages
NALESVPMEngg
 
15 march -22 march 2024 short term program
15 march -22 march 2024 short term program15 march -22 march 2024 short term program
15 march -22 march 2024 short term program
NALESVPMEngg
 
Unit I _ Lecture PPT INTRODUCTION TO IOT PPT (2).pptx
Unit I _ Lecture PPT INTRODUCTION TO IOT PPT (2).pptxUnit I _ Lecture PPT INTRODUCTION TO IOT PPT (2).pptx
Unit I _ Lecture PPT INTRODUCTION TO IOT PPT (2).pptx
NALESVPMEngg
 
bstract Point processing uses only the information in individual pixels to pr...
bstract Point processing uses only the information in individual pixels to pr...bstract Point processing uses only the information in individual pixels to pr...
bstract Point processing uses only the information in individual pixels to pr...
NALESVPMEngg
 
a simple idealized machine used to recognize patterns within input taken from...
a simple idealized machine used to recognize patterns within input taken from...a simple idealized machine used to recognize patterns within input taken from...
a simple idealized machine used to recognize patterns within input taken from...
NALESVPMEngg
 
Stemming is one of several text normalization techniques that converts raw te...
Stemming is one of several text normalization techniques that converts raw te...Stemming is one of several text normalization techniques that converts raw te...
Stemming is one of several text normalization techniques that converts raw te...
NALESVPMEngg
 
Information retrieval is the process of accessing data resources. Usually doc...
Information retrieval is the process of accessing data resources. Usually doc...Information retrieval is the process of accessing data resources. Usually doc...
Information retrieval is the process of accessing data resources. Usually doc...
NALESVPMEngg
 
Information retrieval is the process of accessing data resources. Usually doc...
Information retrieval is the process of accessing data resources. Usually doc...Information retrieval is the process of accessing data resources. Usually doc...
Information retrieval is the process of accessing data resources. Usually doc...
NALESVPMEngg
 
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
NALESVPMEngg
 
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
NALESVPMEngg
 
Activity diagrams show the flow of one activity to another within a system or...
Activity diagrams show the flow of one activity to another within a system or...Activity diagrams show the flow of one activity to another within a system or...
Activity diagrams show the flow of one activity to another within a system or...
NALESVPMEngg
 
Activity diagrams show the flow of one activity to another within a system or...
Activity diagrams show the flow of one activity to another within a system or...Activity diagrams show the flow of one activity to another within a system or...
Activity diagrams show the flow of one activity to another within a system or...
NALESVPMEngg
 
Introduction to Csharp (C-Sharp) is a programming language developed by Micro...
Introduction to Csharp (C-Sharp) is a programming language developed by Micro...Introduction to Csharp (C-Sharp) is a programming language developed by Micro...
Introduction to Csharp (C-Sharp) is a programming language developed by Micro...
NALESVPMEngg
 
Wk5_UML_ActivityDiagram.pptx
Wk5_UML_ActivityDiagram.pptxWk5_UML_ActivityDiagram.pptx
Wk5_UML_ActivityDiagram.pptx
NALESVPMEngg
 
6 Use Case Modeling.pptx
6 Use Case Modeling.pptx6 Use Case Modeling.pptx
6 Use Case Modeling.pptx
NALESVPMEngg
 
Introduction To Algorithms.ppt
Introduction To Algorithms.pptIntroduction To Algorithms.ppt
Introduction To Algorithms.ppt
NALESVPMEngg
 
Ad

Recently uploaded (20)

Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptxLidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
RishavKumar530754
 
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
charlesdick1345
 
ELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdfELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdf
Shiju Jacob
 
Machine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptxMachine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptx
rajeswari89780
 
Artificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptxArtificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptx
aditichinar
 
Compiler Design Unit1 PPT Phases of Compiler.pptx
Compiler Design Unit1 PPT Phases of Compiler.pptxCompiler Design Unit1 PPT Phases of Compiler.pptx
Compiler Design Unit1 PPT Phases of Compiler.pptx
RushaliDeshmukh2
 
new ppt artificial intelligence historyyy
new ppt artificial intelligence historyyynew ppt artificial intelligence historyyy
new ppt artificial intelligence historyyy
PianoPianist
 
some basics electrical and electronics knowledge
some basics electrical and electronics knowledgesome basics electrical and electronics knowledge
some basics electrical and electronics knowledge
nguyentrungdo88
 
Metal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistryMetal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistry
mee23nu
 
The Gaussian Process Modeling Module in UQLab
The Gaussian Process Modeling Module in UQLabThe Gaussian Process Modeling Module in UQLab
The Gaussian Process Modeling Module in UQLab
Journal of Soft Computing in Civil Engineering
 
fluke dealers in bangalore..............
fluke dealers in bangalore..............fluke dealers in bangalore..............
fluke dealers in bangalore..............
Haresh Vaswani
 
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E..."Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
Infopitaara
 
DSP and MV the Color image processing.ppt
DSP and MV the  Color image processing.pptDSP and MV the  Color image processing.ppt
DSP and MV the Color image processing.ppt
HafizAhamed8
 
Mathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdfMathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdf
TalhaShahid49
 
Value Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous SecurityValue Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous Security
Marc Hornbeek
 
IntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdfIntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdf
Luiz Carneiro
 
Raish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdfRaish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdf
RaishKhanji
 
Smart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineeringSmart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineering
rushikeshnavghare94
 
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITYADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ijscai
 
Oil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdfOil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdf
M7md3li2
 
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptxLidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
RishavKumar530754
 
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
charlesdick1345
 
ELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdfELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdf
Shiju Jacob
 
Machine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptxMachine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptx
rajeswari89780
 
Artificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptxArtificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptx
aditichinar
 
Compiler Design Unit1 PPT Phases of Compiler.pptx
Compiler Design Unit1 PPT Phases of Compiler.pptxCompiler Design Unit1 PPT Phases of Compiler.pptx
Compiler Design Unit1 PPT Phases of Compiler.pptx
RushaliDeshmukh2
 
new ppt artificial intelligence historyyy
new ppt artificial intelligence historyyynew ppt artificial intelligence historyyy
new ppt artificial intelligence historyyy
PianoPianist
 
some basics electrical and electronics knowledge
some basics electrical and electronics knowledgesome basics electrical and electronics knowledge
some basics electrical and electronics knowledge
nguyentrungdo88
 
Metal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistryMetal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistry
mee23nu
 
fluke dealers in bangalore..............
fluke dealers in bangalore..............fluke dealers in bangalore..............
fluke dealers in bangalore..............
Haresh Vaswani
 
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E..."Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
Infopitaara
 
DSP and MV the Color image processing.ppt
DSP and MV the  Color image processing.pptDSP and MV the  Color image processing.ppt
DSP and MV the Color image processing.ppt
HafizAhamed8
 
Mathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdfMathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdf
TalhaShahid49
 
Value Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous SecurityValue Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous Security
Marc Hornbeek
 
IntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdfIntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdf
Luiz Carneiro
 
Raish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdfRaish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdf
RaishKhanji
 
Smart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineeringSmart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineering
rushikeshnavghare94
 
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITYADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ijscai
 
Oil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdfOil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdf
M7md3li2
 
Ad

Introduction To Data Structures.ppt

  • 1. Tuesday, March 28, 2023 1 Data Structures & Algorithms Represented By Nale Rajesh K. (Lecturer COE Malegaon (Bk)) Introduction To Data Structures
  • 2. Tuesday, March 28, 2023 2 What is Data.?  In computing, data is information that has been translated into a form that is more convenient to move or process.  Relative to today's computers and transmission media, data is information converted into binary digital form.  Distinct pieces of information, usually formatted in a special way.
  • 3. Tuesday, March 28, 2023 3 Data Objects  Anything that exists in storage and on which operations can be performed.  Examples include files, Programs and arrays.
  • 4. Tuesday, March 28, 2023 4 Data Types  The mathematical properties and internal representation of data and functions.  An attribute used for defining data as numeric or character.
  • 5. Tuesday, March 28, 2023 5 A Data Type is characterized by..  a set of values  a data representation, which is common to all these values, and  a set of operations, which can be applied uniformly to all these values
  • 6. Tuesday, March 28, 2023 6 Abstract Data Types  An Abstract Data Type (ADT) is:  a user defined data type  a set of values  a set of operations, which can be applied uniformly to all these values.
  • 7. Tuesday, March 28, 2023 7 ADT = properties + operations  An ADT describes a set of objects sharing the same properties and behaviors  The properties of an ADT are its data (representing the internal state of each object  double d; -- bits representing exponent & mantissa are its data or state  The behaviors of an ADT are its operations or functions (operations on each instance)  sqrt(d) / 2; //operators & functions are its behaviors
  • 8. Tuesday, March 28, 2023 8 Benefits Of ADT  encapsulation: less to worry about  division of labor  promotes code sharing  cheaper sub-contracts  facilitates unit-testing
  • 9. Tuesday, March 28, 2023 9 List Abstract Data Type (ADT)  The List ADT models a sequence of positions storing arbitrary objects  It establishes a before/after relation between positions  Can be implemented in various ways:  array  singly-linked  doubly-linked  Accessor methods:  first(), last()  prev(p), next(p)  Update methods:  replace(p, e)  insertBefore(p, e), insertAfter(p, e),  insertFirst(e), insertLast(e)  remove(p)  convenience methods:  isEmpty()
  • 10. Tuesday, March 28, 2023 10 Data Structures  Arrangement of data in computer’s memory.  Goal: to organize data  Criteria: to facilitate efficient  storage of data  retrieval of data  manipulation of data  Design Issue:  select and design appropriate data types.
  • 11. Tuesday, March 28, 2023 11 Primitive & Non-Primitive  Primitive Data Structures  Data can be structured at the most primitive level, where they are directly operated upon by machine-level instructions.  At this level, data may be character or numeric, and numeric data may consist of integers or real numbers.  Non-Primitive Data Structures  Non-primitive data structures can be classified as arrays, lists, and files.  An array is an ordered set which contains a fixed number of objects.  A list, by contrast, is an ordered set consisting of a variable number of elements.  A file is typically a large list that is stored in the external memory of a computer.
  • 12. Tuesday, March 28, 2023 12 Linear & Non-Linear  Linear Data Structure  Linear data structure is linear if element is adjacent to each other. It has exactly two neighbors elements to which it is connected as its previous and next member  Array , Linked List , Stack , Queuenumbers.  Non- Linear Data Structures  Non-Linear data structure is that if one element can be connected to more than two adjacent element then it is known as non-linear data structure..  Tree , Graph
  • 13. Tuesday, March 28, 2023 13 Static Data Structures  a simple data structure, the array is static data structure.  They are linear only  They're essentially fixed-size.  They often use too much space.
  • 14. Tuesday, March 28, 2023 14 Dynamic Data Structure  Is one that can grow or shrink as needed to contain the data you want stored.  That is, you can allocate new storage when it's needed and discard that storage when you're done with it.  malloc(), calloc() functions in C language.  Dynamic data structures generally consist of at least some simple data storage, along with a linkage to the next element in the structure.  These links are often called pointers, or references.
  • 15. Tuesday, March 28, 2023 15 Persistent & Ephemeral  Persistent  One that is continue in existence  Ephemeral  lasting or of use for only a short time; transitory