際際滷

際際滷Share a Scribd company logo
4331601
Data Structure with
Python
Prof. Arvind Meniya
UNIT 1
Basic Concept
of Data
Structure
Definition:
Data Structure is a logical or Mathematical model which is used to organized the
data in a memory
 Data Structures are the main part of many Computer Science Algorithms as
they allow the programmers to manage the data in an effective way.
 Data Structures support different methods to organize, manage, and store data
efficiently.
 Data Structures provide Efficiency, Reusability, and Abstraction.
What is Data
Structure?
 Data Structures allow us to organize and store data, whereas Algorithms allow us to
process that data meaningfully.
 Learning Data Structures and Algorithms will help us become better Programmers.
 We will be able to write code that is more effective and reliable.
 We will also be able to solve problems more quickly and efficiently.
Why should we
need to learn
Data Structure?
 Data Structures allow us to organize and store data, whereas Algorithms allow us to
process that data meaningfully.
 Learning Data Structures and Algorithms will help us become better Programmers.
 We will be able to write code that is more effective and reliable.
 We will also be able to solve problems more quickly and efficiently.
Why should we
need to learn
Data Structure?
 A Data Structure delivers a structured set of variables related to each other in
various ways.
 It forms the basis of a programming tool that signifies the relationship between the
data elements and allows programmers to process the data efficiently.
 We can classify Data Structures into two categories:
 Primitive Data Structure
 Non-Primitive Data Structure
Classifications
of Data
Structure
Classifications
of Data
Structure
Primitive Data Structures
 Primitive Data Structures are the data structures consisting of the numbers and the
characters that come in-built into programs.
 These data structures can be manipulated or operated directly by machine-level
instructions.
 Basic data types like Integer, Float, Character, and Boolean come under the Primitive
Data Structures.
 These data types are also called Simple data types,.
Classifications
of Data
Structure
Non-Primitive Data Structures
Non-Primitive Data Structures are those data structures derived from Primitive
Data Structures.
These data structures can't be manipulated or operated directly by machine-level
instructions.
The focus of these data structures is on forming a set of data elements that is
either homogeneous (same data type) or heterogeneous (different data types).
Based on the structure and arrangement of data, we can divide these data
structures into two sub-categories -
Linear Data Structures
Non-Linear Data Structures
Classifications
of Data
Structure

More Related Content

Similar to Introduction to Data Structure with Python (20)

Datastructures Notes
Datastructures NotesDatastructures Notes
Datastructures Notes
Ranjithkumar C
Programming Assignment Help
Programming Assignment HelpProgramming Assignment Help
Programming Assignment Help
#essaywriting
1.1 Data Modelling - Part I (Understand Data Model).pdf
1.1 Data Modelling - Part I (Understand Data Model).pdf1.1 Data Modelling - Part I (Understand Data Model).pdf
1.1 Data Modelling - Part I (Understand Data Model).pdf
RakeshKumar145431
Basic of Data Structure.pptx
Basic of Data Structure.pptxBasic of Data Structure.pptx
Basic of Data Structure.pptx
pooja chavan
Basic of Data Structure.pptx
Basic of Data Structure.pptxBasic of Data Structure.pptx
Basic of Data Structure.pptx
PoojaChavan51
Types of datastructures
Types of datastructuresTypes of datastructures
Types of datastructures
Madishetty Prathibha
AI Project Cycle Summary Class ninth please
AI Project Cycle Summary Class ninth pleaseAI Project Cycle Summary Class ninth please
AI Project Cycle Summary Class ninth please
lefreak320
Database Systems - introduction
Database Systems - introductionDatabase Systems - introduction
Database Systems - introduction
Jananath Banuka
Dats Structures
Dats StructuresDats Structures
Dats Structures
DEEPAK948083
Essential+Data+Science+Notes+-+A+Concise+PDF+Guide.pdf
Essential+Data+Science+Notes+-+A+Concise+PDF+Guide.pdfEssential+Data+Science+Notes+-+A+Concise+PDF+Guide.pdf
Essential+Data+Science+Notes+-+A+Concise+PDF+Guide.pdf
meera musane
Database Management Systems ( Dbms )
Database Management Systems ( Dbms )Database Management Systems ( Dbms )
Database Management Systems ( Dbms )
Patty Buckley
Data Structure Introduction.pdfssssssssssss
Data Structure Introduction.pdfssssssssssssData Structure Introduction.pdfssssssssssss
Data Structure Introduction.pdfssssssssssss
parwarsmko98
slidesgo-mastering-data-structures-and-algorithms-the-backbone-of-efficien_20...
slidesgo-mastering-data-structures-and-algorithms-the-backbone-of-efficien_20...slidesgo-mastering-data-structures-and-algorithms-the-backbone-of-efficien_20...
slidesgo-mastering-data-structures-and-algorithms-the-backbone-of-efficien_20...
AnushaReddy647025
Understanding Data Modelling Techniques: A Compre.pdf
Understanding Data Modelling Techniques: A Compre.pdfUnderstanding Data Modelling Techniques: A Compre.pdf
Understanding Data Modelling Techniques: A Compre.pdf
Lynn588356
Database Concepts
Database ConceptsDatabase Concepts
Database Concepts
Upendra Reddy Vuyyuru
Data Modeling.docx
Data Modeling.docxData Modeling.docx
Data Modeling.docx
Michuki Samuel
Ch1
Ch1Ch1
Ch1
OmarFarukh3
What Is Super Key In Dbms
What Is Super Key In DbmsWhat Is Super Key In Dbms
What Is Super Key In Dbms
Theresa Singh
LOGICAL data Model - Software Data engineering
LOGICAL data Model - Software Data engineeringLOGICAL data Model - Software Data engineering
LOGICAL data Model - Software Data engineering
Abdul Ahad
Data structures lectures no 1
Data structures lectures no 1Data structures lectures no 1
Data structures lectures no 1
AzharIqbal710687
Datastructures Notes
Datastructures NotesDatastructures Notes
Datastructures Notes
Ranjithkumar C
Programming Assignment Help
Programming Assignment HelpProgramming Assignment Help
Programming Assignment Help
#essaywriting
1.1 Data Modelling - Part I (Understand Data Model).pdf
1.1 Data Modelling - Part I (Understand Data Model).pdf1.1 Data Modelling - Part I (Understand Data Model).pdf
1.1 Data Modelling - Part I (Understand Data Model).pdf
RakeshKumar145431
Basic of Data Structure.pptx
Basic of Data Structure.pptxBasic of Data Structure.pptx
Basic of Data Structure.pptx
pooja chavan
Basic of Data Structure.pptx
Basic of Data Structure.pptxBasic of Data Structure.pptx
Basic of Data Structure.pptx
PoojaChavan51
AI Project Cycle Summary Class ninth please
AI Project Cycle Summary Class ninth pleaseAI Project Cycle Summary Class ninth please
AI Project Cycle Summary Class ninth please
lefreak320
Database Systems - introduction
Database Systems - introductionDatabase Systems - introduction
Database Systems - introduction
Jananath Banuka
Dats Structures
Dats StructuresDats Structures
Dats Structures
DEEPAK948083
Essential+Data+Science+Notes+-+A+Concise+PDF+Guide.pdf
Essential+Data+Science+Notes+-+A+Concise+PDF+Guide.pdfEssential+Data+Science+Notes+-+A+Concise+PDF+Guide.pdf
Essential+Data+Science+Notes+-+A+Concise+PDF+Guide.pdf
meera musane
Database Management Systems ( Dbms )
Database Management Systems ( Dbms )Database Management Systems ( Dbms )
Database Management Systems ( Dbms )
Patty Buckley
Data Structure Introduction.pdfssssssssssss
Data Structure Introduction.pdfssssssssssssData Structure Introduction.pdfssssssssssss
Data Structure Introduction.pdfssssssssssss
parwarsmko98
slidesgo-mastering-data-structures-and-algorithms-the-backbone-of-efficien_20...
slidesgo-mastering-data-structures-and-algorithms-the-backbone-of-efficien_20...slidesgo-mastering-data-structures-and-algorithms-the-backbone-of-efficien_20...
slidesgo-mastering-data-structures-and-algorithms-the-backbone-of-efficien_20...
AnushaReddy647025
Understanding Data Modelling Techniques: A Compre.pdf
Understanding Data Modelling Techniques: A Compre.pdfUnderstanding Data Modelling Techniques: A Compre.pdf
Understanding Data Modelling Techniques: A Compre.pdf
Lynn588356
What Is Super Key In Dbms
What Is Super Key In DbmsWhat Is Super Key In Dbms
What Is Super Key In Dbms
Theresa Singh
LOGICAL data Model - Software Data engineering
LOGICAL data Model - Software Data engineeringLOGICAL data Model - Software Data engineering
LOGICAL data Model - Software Data engineering
Abdul Ahad
Data structures lectures no 1
Data structures lectures no 1Data structures lectures no 1
Data structures lectures no 1
AzharIqbal710687

Recently uploaded (20)

decarbonization steel industry rev1.pptx
decarbonization steel industry rev1.pptxdecarbonization steel industry rev1.pptx
decarbonization steel industry rev1.pptx
gonzalezolabarriaped
RAMSES- EDITORIAL SAMPLE FOR DSSPC C.pptx
RAMSES- EDITORIAL SAMPLE FOR DSSPC C.pptxRAMSES- EDITORIAL SAMPLE FOR DSSPC C.pptx
RAMSES- EDITORIAL SAMPLE FOR DSSPC C.pptx
JenTeruel1
IPC-9716_2024 Requirements for Automated Optical Inspection (AOI) Process Con...
IPC-9716_2024 Requirements for Automated Optical Inspection (AOI) Process Con...IPC-9716_2024 Requirements for Automated Optical Inspection (AOI) Process Con...
IPC-9716_2024 Requirements for Automated Optical Inspection (AOI) Process Con...
ssuserd9338b
Piping-and-pipeline-calculations-manual.pdf
Piping-and-pipeline-calculations-manual.pdfPiping-and-pipeline-calculations-manual.pdf
Piping-and-pipeline-calculations-manual.pdf
OMI0721
CS3451-OPERATING-SYSTEM NOTES ALL123.pdf
CS3451-OPERATING-SYSTEM NOTES ALL123.pdfCS3451-OPERATING-SYSTEM NOTES ALL123.pdf
CS3451-OPERATING-SYSTEM NOTES ALL123.pdf
PonniS7
G8 mini project for alcohol detection and engine lock system with GPS tracki...
G8 mini project for  alcohol detection and engine lock system with GPS tracki...G8 mini project for  alcohol detection and engine lock system with GPS tracki...
G8 mini project for alcohol detection and engine lock system with GPS tracki...
sahillanjewar294
The Golden Gate Bridge a structural marvel inspired by mother nature.pptx
The Golden Gate Bridge a structural marvel inspired by mother nature.pptxThe Golden Gate Bridge a structural marvel inspired by mother nature.pptx
The Golden Gate Bridge a structural marvel inspired by mother nature.pptx
AkankshaRawat75
How to Build a Maze Solving Robot Using Arduino
How to Build a Maze Solving Robot Using ArduinoHow to Build a Maze Solving Robot Using Arduino
How to Build a Maze Solving Robot Using Arduino
CircuitDigest
CONTRACTOR ALL RISK INSURANCESAR (1).ppt
CONTRACTOR ALL RISK INSURANCESAR (1).pptCONTRACTOR ALL RISK INSURANCESAR (1).ppt
CONTRACTOR ALL RISK INSURANCESAR (1).ppt
suaktonny
GM Meeting 070225 TO 130225 for 2024.pptx
GM Meeting 070225 TO 130225 for 2024.pptxGM Meeting 070225 TO 130225 for 2024.pptx
GM Meeting 070225 TO 130225 for 2024.pptx
crdslalcomumbai
Lecture -3 Cold water supply system.pptx
Lecture -3 Cold water supply system.pptxLecture -3 Cold water supply system.pptx
Lecture -3 Cold water supply system.pptx
rabiaatif2
Mathematics behind machine learning INT255 INT255__Unit 3__PPT-1.pptx
Mathematics behind machine learning INT255 INT255__Unit 3__PPT-1.pptxMathematics behind machine learning INT255 INT255__Unit 3__PPT-1.pptx
Mathematics behind machine learning INT255 INT255__Unit 3__PPT-1.pptx
ppkmurthy2006
UNIT 1FUNDAMENTALS OF OPERATING SYSTEMS.pptx
UNIT 1FUNDAMENTALS OF OPERATING SYSTEMS.pptxUNIT 1FUNDAMENTALS OF OPERATING SYSTEMS.pptx
UNIT 1FUNDAMENTALS OF OPERATING SYSTEMS.pptx
KesavanT10
Soil Properties and Methods of Determination
Soil Properties and  Methods of DeterminationSoil Properties and  Methods of Determination
Soil Properties and Methods of Determination
Rajani Vyawahare
15. Smart Cities Big Data, Civic Hackers, and the Quest for a New Utopia.pdf
15. Smart Cities Big Data, Civic Hackers, and the Quest for a New Utopia.pdf15. Smart Cities Big Data, Civic Hackers, and the Quest for a New Utopia.pdf
15. Smart Cities Big Data, Civic Hackers, and the Quest for a New Utopia.pdf
NgocThang9
health safety and environment presentation
health safety and environment presentationhealth safety and environment presentation
health safety and environment presentation
ssuserc606c7
GROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptx
GROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptxGROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptx
GROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptx
meneememoo
Mathematics_behind_machine_learning_INT255.pptx
Mathematics_behind_machine_learning_INT255.pptxMathematics_behind_machine_learning_INT255.pptx
Mathematics_behind_machine_learning_INT255.pptx
ppkmurthy2006
Introduction to Safety, Health & Environment
Introduction to Safety, Health  & EnvironmentIntroduction to Safety, Health  & Environment
Introduction to Safety, Health & Environment
ssuserc606c7
TM-ASP-101-RF_Air Press manual crimping machine.pdf
TM-ASP-101-RF_Air Press manual crimping machine.pdfTM-ASP-101-RF_Air Press manual crimping machine.pdf
TM-ASP-101-RF_Air Press manual crimping machine.pdf
ChungLe60
decarbonization steel industry rev1.pptx
decarbonization steel industry rev1.pptxdecarbonization steel industry rev1.pptx
decarbonization steel industry rev1.pptx
gonzalezolabarriaped
RAMSES- EDITORIAL SAMPLE FOR DSSPC C.pptx
RAMSES- EDITORIAL SAMPLE FOR DSSPC C.pptxRAMSES- EDITORIAL SAMPLE FOR DSSPC C.pptx
RAMSES- EDITORIAL SAMPLE FOR DSSPC C.pptx
JenTeruel1
IPC-9716_2024 Requirements for Automated Optical Inspection (AOI) Process Con...
IPC-9716_2024 Requirements for Automated Optical Inspection (AOI) Process Con...IPC-9716_2024 Requirements for Automated Optical Inspection (AOI) Process Con...
IPC-9716_2024 Requirements for Automated Optical Inspection (AOI) Process Con...
ssuserd9338b
Piping-and-pipeline-calculations-manual.pdf
Piping-and-pipeline-calculations-manual.pdfPiping-and-pipeline-calculations-manual.pdf
Piping-and-pipeline-calculations-manual.pdf
OMI0721
CS3451-OPERATING-SYSTEM NOTES ALL123.pdf
CS3451-OPERATING-SYSTEM NOTES ALL123.pdfCS3451-OPERATING-SYSTEM NOTES ALL123.pdf
CS3451-OPERATING-SYSTEM NOTES ALL123.pdf
PonniS7
G8 mini project for alcohol detection and engine lock system with GPS tracki...
G8 mini project for  alcohol detection and engine lock system with GPS tracki...G8 mini project for  alcohol detection and engine lock system with GPS tracki...
G8 mini project for alcohol detection and engine lock system with GPS tracki...
sahillanjewar294
The Golden Gate Bridge a structural marvel inspired by mother nature.pptx
The Golden Gate Bridge a structural marvel inspired by mother nature.pptxThe Golden Gate Bridge a structural marvel inspired by mother nature.pptx
The Golden Gate Bridge a structural marvel inspired by mother nature.pptx
AkankshaRawat75
How to Build a Maze Solving Robot Using Arduino
How to Build a Maze Solving Robot Using ArduinoHow to Build a Maze Solving Robot Using Arduino
How to Build a Maze Solving Robot Using Arduino
CircuitDigest
CONTRACTOR ALL RISK INSURANCESAR (1).ppt
CONTRACTOR ALL RISK INSURANCESAR (1).pptCONTRACTOR ALL RISK INSURANCESAR (1).ppt
CONTRACTOR ALL RISK INSURANCESAR (1).ppt
suaktonny
GM Meeting 070225 TO 130225 for 2024.pptx
GM Meeting 070225 TO 130225 for 2024.pptxGM Meeting 070225 TO 130225 for 2024.pptx
GM Meeting 070225 TO 130225 for 2024.pptx
crdslalcomumbai
Lecture -3 Cold water supply system.pptx
Lecture -3 Cold water supply system.pptxLecture -3 Cold water supply system.pptx
Lecture -3 Cold water supply system.pptx
rabiaatif2
Mathematics behind machine learning INT255 INT255__Unit 3__PPT-1.pptx
Mathematics behind machine learning INT255 INT255__Unit 3__PPT-1.pptxMathematics behind machine learning INT255 INT255__Unit 3__PPT-1.pptx
Mathematics behind machine learning INT255 INT255__Unit 3__PPT-1.pptx
ppkmurthy2006
UNIT 1FUNDAMENTALS OF OPERATING SYSTEMS.pptx
UNIT 1FUNDAMENTALS OF OPERATING SYSTEMS.pptxUNIT 1FUNDAMENTALS OF OPERATING SYSTEMS.pptx
UNIT 1FUNDAMENTALS OF OPERATING SYSTEMS.pptx
KesavanT10
Soil Properties and Methods of Determination
Soil Properties and  Methods of DeterminationSoil Properties and  Methods of Determination
Soil Properties and Methods of Determination
Rajani Vyawahare
15. Smart Cities Big Data, Civic Hackers, and the Quest for a New Utopia.pdf
15. Smart Cities Big Data, Civic Hackers, and the Quest for a New Utopia.pdf15. Smart Cities Big Data, Civic Hackers, and the Quest for a New Utopia.pdf
15. Smart Cities Big Data, Civic Hackers, and the Quest for a New Utopia.pdf
NgocThang9
health safety and environment presentation
health safety and environment presentationhealth safety and environment presentation
health safety and environment presentation
ssuserc606c7
GROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptx
GROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptxGROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptx
GROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptx
meneememoo
Mathematics_behind_machine_learning_INT255.pptx
Mathematics_behind_machine_learning_INT255.pptxMathematics_behind_machine_learning_INT255.pptx
Mathematics_behind_machine_learning_INT255.pptx
ppkmurthy2006
Introduction to Safety, Health & Environment
Introduction to Safety, Health  & EnvironmentIntroduction to Safety, Health  & Environment
Introduction to Safety, Health & Environment
ssuserc606c7
TM-ASP-101-RF_Air Press manual crimping machine.pdf
TM-ASP-101-RF_Air Press manual crimping machine.pdfTM-ASP-101-RF_Air Press manual crimping machine.pdf
TM-ASP-101-RF_Air Press manual crimping machine.pdf
ChungLe60

Introduction to Data Structure with Python

  • 1. 4331601 Data Structure with Python Prof. Arvind Meniya UNIT 1 Basic Concept of Data Structure
  • 2. Definition: Data Structure is a logical or Mathematical model which is used to organized the data in a memory Data Structures are the main part of many Computer Science Algorithms as they allow the programmers to manage the data in an effective way. Data Structures support different methods to organize, manage, and store data efficiently. Data Structures provide Efficiency, Reusability, and Abstraction. What is Data Structure?
  • 3. Data Structures allow us to organize and store data, whereas Algorithms allow us to process that data meaningfully. Learning Data Structures and Algorithms will help us become better Programmers. We will be able to write code that is more effective and reliable. We will also be able to solve problems more quickly and efficiently. Why should we need to learn Data Structure?
  • 4. Data Structures allow us to organize and store data, whereas Algorithms allow us to process that data meaningfully. Learning Data Structures and Algorithms will help us become better Programmers. We will be able to write code that is more effective and reliable. We will also be able to solve problems more quickly and efficiently. Why should we need to learn Data Structure?
  • 5. A Data Structure delivers a structured set of variables related to each other in various ways. It forms the basis of a programming tool that signifies the relationship between the data elements and allows programmers to process the data efficiently. We can classify Data Structures into two categories: Primitive Data Structure Non-Primitive Data Structure Classifications of Data Structure
  • 7. Primitive Data Structures Primitive Data Structures are the data structures consisting of the numbers and the characters that come in-built into programs. These data structures can be manipulated or operated directly by machine-level instructions. Basic data types like Integer, Float, Character, and Boolean come under the Primitive Data Structures. These data types are also called Simple data types,. Classifications of Data Structure
  • 8. Non-Primitive Data Structures Non-Primitive Data Structures are those data structures derived from Primitive Data Structures. These data structures can't be manipulated or operated directly by machine-level instructions. The focus of these data structures is on forming a set of data elements that is either homogeneous (same data type) or heterogeneous (different data types). Based on the structure and arrangement of data, we can divide these data structures into two sub-categories - Linear Data Structures Non-Linear Data Structures Classifications of Data Structure