SlideShare a Scribd company logo
SANJIVANI K. B. P. POLYTECHNIC,
KOPARGAON
With NBA ACCREDIATED programs , Approved by AICTE, New Delhi,
Recognized by Govt. of Maharashtra, Affiliated to Maharashtra State Board of
Technical Education, Mumbai, ISO 9001:2015 Certified Institute
Name of Faculty: Prof. Vaibhav A. Parjane
1
Topic to be Covered
Classification of Data Structure
2
Sanjivani K. B. P. Polytechnic Kopargaon Department of Computer Technology Prof. Vaibhav A. Parjane
Classification of Data structure
The data structure are normally divided into two
categories—
Primitive Data structure
 Non- Primitive Data structure [ Derived]
Data Structure further classified into two categories :
Linear Data Structure
Non Linear Data Structure
3
Sanjivani K. B. P. Polytechnic Kopargaon Department of Computer Technology Prof. Vaibhav A. Parjane
Classification of Data Structure
Data Structure
Primitive Non – Primitive [Derived]
Array Lists Structure Files
Linear Non - Linear
Stack Queue Tree Graph
Integer
Char
Float
Pointer
4
Sanjivani K. B. P. Polytechnic Kopargaon Department of Computer Technology Prof. Vaibhav A. Parjane
Classification of Data structure
1) Primitive Data structure :
1. These are basic structures and directly operated upon by the
machine instructions.
2. A primitive data types defines how the data will be internally
represented stored and retrieve from the memory.
3. Eg: int, float, char, double.
2) Non- Primitive Data structure [ Derived] :
1. These are derived from the primitive data structures.
2. Eg: Array , Structure, Union, Pointer, User defined data types, linked-
list, stack, queue, tree, graph.
5
Sanjivani K. B. P. Polytechnic Kopargaon Department of Computer Technology Prof. Vaibhav A. Parjane
Linear Data Structures:
 The data structure where data items are organized
sequentially or linearly where data elements attached one
after another is called linear data structure.
 Data elements in a liner data structure are traversed one
after the other and only one element can be directly reached
while traversing.
 All the data items in linear data structure can be traversed in
single run.
 These kind of data structures are very easy to implement
because memory of computer is also organized in linear
fashion.
 Examples of linear data structures
are Arrays, Stack, Queue and Linked List.
6
Sanjivani K. B. P. Polytechnic Kopargaon Department of Computer Technology Prof. Vaibhav A. Parjane
7
Sanjivani K. B. P. Polytechnic Kopargaon Department of Computer Technology Prof. Vaibhav A. Parjane
Linear Data Structures:
8
Array
Linked List
Queue
Stack
Sanjivani K. B. P. Polytechnic Kopargaon Department of Computer Technology Prof. Vaibhav A. Parjane
Non Linear Data Structures:
 The data structure where data items are not organized
sequentially is called non linear data structure.
 In other words, A data elements of the non linear data
structure could be connected to more than one elements
to reflect a special relationship among them.
 All the data elements in non linear data structure can
not be traversed in single run.
 Examples of non linear data structures
are Trees and Graphs.
9
Sanjivani K. B. P. Polytechnic Kopargaon Department of Computer Technology Prof. Vaibhav A. Parjane
Non Linear Data Structures:
TREE GRAPH
10
Sanjivani K. B. P. Polytechnic Kopargaon Department of Computer Technology Prof. Vaibhav A. Parjane
Difference Between Linear and Non Linear Data Structure
Linear Data Structure Non-Linear Data Structure
Every item is related to its previous
and next item.
Every item is attached with many other
items.
Data is arranged in linear sequence. Data is not arranged in sequence.
Data items can be traversed in a single
run.
Data can not be traversed in a single
run.
Examples: Array, Stack, Queue, Linked
List.
Examples: Tree, Graph.
Implementation is Easy. Implementation is Difficult.
11
Sanjivani K. B. P. Polytechnic Kopargaon Department of Computer Technology Prof. Vaibhav A. Parjane

More Related Content

Similar to Classification of Data Structure -Linear and Non Linear

Lead Scores 64.pptxj,jhjyfjyffjufjfkfjgk
Lead Scores 64.pptxj,jhjyfjyffjufjfkfjgkLead Scores 64.pptxj,jhjyfjyffjufjfkfjgk
Lead Scores 64.pptxj,jhjyfjyffjufjfkfjgkShinzoNakabura
 
Laksh_Lumba_Resume
Laksh_Lumba_ResumeLaksh_Lumba_Resume
Laksh_Lumba_ResumeLaksh Lumba
 
Unit 1 Introduction to Data Structures(1).pptx
Unit 1 Introduction to Data Structures(1).pptxUnit 1 Introduction to Data Structures(1).pptx
Unit 1 Introduction to Data Structures(1).pptxvaibhavparjane
 
IRJET - A Study on Student Career Prediction
IRJET - A Study on Student Career PredictionIRJET - A Study on Student Career Prediction
IRJET - A Study on Student Career PredictionIRJET Journal
 
machine learning based predictive analytics of student academic performance i...
machine learning based predictive analytics of student academic performance i...machine learning based predictive analytics of student academic performance i...
machine learning based predictive analytics of student academic performance i...CloudTechnologies
 
Alakesh mani resume
Alakesh mani resumeAlakesh mani resume
Alakesh mani resumeAlakesh Mani
 
Alakesh mani resume
Alakesh mani resumeAlakesh mani resume
Alakesh mani resumeAlakesh Mani
 
Unit 2 Searching and Sorting Technique.pptx
Unit 2 Searching and Sorting Technique.pptxUnit 2 Searching and Sorting Technique.pptx
Unit 2 Searching and Sorting Technique.pptxVaibhav Parjane
 
Topic Discovery of Online Course Reviews Using LDA with Leveraging Reviews He...
Topic Discovery of Online Course Reviews Using LDA with Leveraging Reviews He...Topic Discovery of Online Course Reviews Using LDA with Leveraging Reviews He...
Topic Discovery of Online Course Reviews Using LDA with Leveraging Reviews He...IJECEIAES
 
Fundamentals of Data Structure_Unit I.pptx
Fundamentals of Data Structure_Unit I.pptxFundamentals of Data Structure_Unit I.pptx
Fundamentals of Data Structure_Unit I.pptxDr. Madhuri Jawale
 
Efficient Refining Of Why-Not Questions on Top-K Queries
Efficient Refining Of Why-Not Questions on Top-K QueriesEfficient Refining Of Why-Not Questions on Top-K Queries
Efficient Refining Of Why-Not Questions on Top-K Queriesiosrjce
 
Brightspace Analytics, Insights, and Data
Brightspace Analytics, Insights, and DataBrightspace Analytics, Insights, and Data
Brightspace Analytics, Insights, and DataD2L Barry
 
Missing Value Evaluation in SQL Queries: A Survey
Missing Value Evaluation in SQL Queries: A SurveyMissing Value Evaluation in SQL Queries: A Survey
Missing Value Evaluation in SQL Queries: A SurveyIRJET Journal
 
IRJET- Missing Value Evaluation in SQL Queries: A Survey
IRJET- 	  Missing Value Evaluation in SQL Queries: A SurveyIRJET- 	  Missing Value Evaluation in SQL Queries: A Survey
IRJET- Missing Value Evaluation in SQL Queries: A SurveyIRJET Journal
 

Similar to Classification of Data Structure -Linear and Non Linear (20)

Lead Scores 64.pptxj,jhjyfjyffjufjfkfjgk
Lead Scores 64.pptxj,jhjyfjyffjufjfkfjgkLead Scores 64.pptxj,jhjyfjyffjufjfkfjgk
Lead Scores 64.pptxj,jhjyfjyffjufjfkfjgk
 
Laksh_Lumba_Resume
Laksh_Lumba_ResumeLaksh_Lumba_Resume
Laksh_Lumba_Resume
 
resume
resumeresume
resume
 
Unit 1 Introduction to Data Structures(1).pptx
Unit 1 Introduction to Data Structures(1).pptxUnit 1 Introduction to Data Structures(1).pptx
Unit 1 Introduction to Data Structures(1).pptx
 
UPDATED CV BY MUHAMMAD SHARIF.pdf
UPDATED CV BY MUHAMMAD SHARIF.pdfUPDATED CV BY MUHAMMAD SHARIF.pdf
UPDATED CV BY MUHAMMAD SHARIF.pdf
 
IRJET - A Study on Student Career Prediction
IRJET - A Study on Student Career PredictionIRJET - A Study on Student Career Prediction
IRJET - A Study on Student Career Prediction
 
machine learning based predictive analytics of student academic performance i...
machine learning based predictive analytics of student academic performance i...machine learning based predictive analytics of student academic performance i...
machine learning based predictive analytics of student academic performance i...
 
Alakesh mani resume
Alakesh mani resumeAlakesh mani resume
Alakesh mani resume
 
Alakesh mani resume
Alakesh mani resumeAlakesh mani resume
Alakesh mani resume
 
An attribute assisted reranking
An attribute assisted rerankingAn attribute assisted reranking
An attribute assisted reranking
 
Unit 2 Searching and Sorting Technique.pptx
Unit 2 Searching and Sorting Technique.pptxUnit 2 Searching and Sorting Technique.pptx
Unit 2 Searching and Sorting Technique.pptx
 
Topic Discovery of Online Course Reviews Using LDA with Leveraging Reviews He...
Topic Discovery of Online Course Reviews Using LDA with Leveraging Reviews He...Topic Discovery of Online Course Reviews Using LDA with Leveraging Reviews He...
Topic Discovery of Online Course Reviews Using LDA with Leveraging Reviews He...
 
Fundamentals of Data Structure_Unit I.pptx
Fundamentals of Data Structure_Unit I.pptxFundamentals of Data Structure_Unit I.pptx
Fundamentals of Data Structure_Unit I.pptx
 
B017350710
B017350710B017350710
B017350710
 
Efficient Refining Of Why-Not Questions on Top-K Queries
Efficient Refining Of Why-Not Questions on Top-K QueriesEfficient Refining Of Why-Not Questions on Top-K Queries
Efficient Refining Of Why-Not Questions on Top-K Queries
 
Ds
DsDs
Ds
 
Brightspace Analytics, Insights, and Data
Brightspace Analytics, Insights, and DataBrightspace Analytics, Insights, and Data
Brightspace Analytics, Insights, and Data
 
phpca4pppt.pptx
phpca4pppt.pptxphpca4pppt.pptx
phpca4pppt.pptx
 
Missing Value Evaluation in SQL Queries: A Survey
Missing Value Evaluation in SQL Queries: A SurveyMissing Value Evaluation in SQL Queries: A Survey
Missing Value Evaluation in SQL Queries: A Survey
 
IRJET- Missing Value Evaluation in SQL Queries: A Survey
IRJET- 	  Missing Value Evaluation in SQL Queries: A SurveyIRJET- 	  Missing Value Evaluation in SQL Queries: A Survey
IRJET- Missing Value Evaluation in SQL Queries: A Survey
 

Recently uploaded

İTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopİTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopEmre Günaydın
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdfKamal Acharya
 
Introduction to Casting Processes in Manufacturing
Introduction to Casting Processes in ManufacturingIntroduction to Casting Processes in Manufacturing
Introduction to Casting Processes in Manufacturingssuser0811ec
 
Online resume builder management system project report.pdf
Online resume builder management system project report.pdfOnline resume builder management system project report.pdf
Online resume builder management system project report.pdfKamal Acharya
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdfAhmedHussein950959
 
fundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projectionfundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projectionjeevanprasad8
 
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...Amil baba
 
Digital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdfDigital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdfAbrahamGadissa
 
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptxCloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptxMd. Shahidul Islam Prodhan
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfKamal Acharya
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptssuser9bd3ba
 
Laundry management system project report.pdf
Laundry management system project report.pdfLaundry management system project report.pdf
Laundry management system project report.pdfKamal Acharya
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxR&R Consult
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdfPratik Pawar
 
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES  INTRODUCTION UNIT-IENERGY STORAGE DEVICES  INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES INTRODUCTION UNIT-IVigneshvaranMech
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdfKamal Acharya
 
Hall booking system project report .pdf
Hall booking system project report  .pdfHall booking system project report  .pdf
Hall booking system project report .pdfKamal Acharya
 
A case study of cinema management system project report..pdf
A case study of cinema management system project report..pdfA case study of cinema management system project report..pdf
A case study of cinema management system project report..pdfKamal Acharya
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxViniHema
 

Recently uploaded (20)

İTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopİTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering Workshop
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Introduction to Casting Processes in Manufacturing
Introduction to Casting Processes in ManufacturingIntroduction to Casting Processes in Manufacturing
Introduction to Casting Processes in Manufacturing
 
Online resume builder management system project report.pdf
Online resume builder management system project report.pdfOnline resume builder management system project report.pdf
Online resume builder management system project report.pdf
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
fundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projectionfundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projection
 
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Digital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdfDigital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdf
 
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptxCloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
 
Laundry management system project report.pdf
Laundry management system project report.pdfLaundry management system project report.pdf
Laundry management system project report.pdf
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES  INTRODUCTION UNIT-IENERGY STORAGE DEVICES  INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
Hall booking system project report .pdf
Hall booking system project report  .pdfHall booking system project report  .pdf
Hall booking system project report .pdf
 
A case study of cinema management system project report..pdf
A case study of cinema management system project report..pdfA case study of cinema management system project report..pdf
A case study of cinema management system project report..pdf
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 

Classification of Data Structure -Linear and Non Linear

  • 1. SANJIVANI K. B. P. POLYTECHNIC, KOPARGAON With NBA ACCREDIATED programs , Approved by AICTE, New Delhi, Recognized by Govt. of Maharashtra, Affiliated to Maharashtra State Board of Technical Education, Mumbai, ISO 9001:2015 Certified Institute Name of Faculty: Prof. Vaibhav A. Parjane 1
  • 2. Topic to be Covered Classification of Data Structure 2 Sanjivani K. B. P. Polytechnic Kopargaon Department of Computer Technology Prof. Vaibhav A. Parjane
  • 3. Classification of Data structure The data structure are normally divided into two categories— Primitive Data structure  Non- Primitive Data structure [ Derived] Data Structure further classified into two categories : Linear Data Structure Non Linear Data Structure 3 Sanjivani K. B. P. Polytechnic Kopargaon Department of Computer Technology Prof. Vaibhav A. Parjane
  • 4. Classification of Data Structure Data Structure Primitive Non – Primitive [Derived] Array Lists Structure Files Linear Non - Linear Stack Queue Tree Graph Integer Char Float Pointer 4 Sanjivani K. B. P. Polytechnic Kopargaon Department of Computer Technology Prof. Vaibhav A. Parjane
  • 5. Classification of Data structure 1) Primitive Data structure : 1. These are basic structures and directly operated upon by the machine instructions. 2. A primitive data types defines how the data will be internally represented stored and retrieve from the memory. 3. Eg: int, float, char, double. 2) Non- Primitive Data structure [ Derived] : 1. These are derived from the primitive data structures. 2. Eg: Array , Structure, Union, Pointer, User defined data types, linked- list, stack, queue, tree, graph. 5 Sanjivani K. B. P. Polytechnic Kopargaon Department of Computer Technology Prof. Vaibhav A. Parjane
  • 6. Linear Data Structures:  The data structure where data items are organized sequentially or linearly where data elements attached one after another is called linear data structure.  Data elements in a liner data structure are traversed one after the other and only one element can be directly reached while traversing.  All the data items in linear data structure can be traversed in single run.  These kind of data structures are very easy to implement because memory of computer is also organized in linear fashion.  Examples of linear data structures are Arrays, Stack, Queue and Linked List. 6 Sanjivani K. B. P. Polytechnic Kopargaon Department of Computer Technology Prof. Vaibhav A. Parjane
  • 7. 7 Sanjivani K. B. P. Polytechnic Kopargaon Department of Computer Technology Prof. Vaibhav A. Parjane
  • 8. Linear Data Structures: 8 Array Linked List Queue Stack Sanjivani K. B. P. Polytechnic Kopargaon Department of Computer Technology Prof. Vaibhav A. Parjane
  • 9. Non Linear Data Structures:  The data structure where data items are not organized sequentially is called non linear data structure.  In other words, A data elements of the non linear data structure could be connected to more than one elements to reflect a special relationship among them.  All the data elements in non linear data structure can not be traversed in single run.  Examples of non linear data structures are Trees and Graphs. 9 Sanjivani K. B. P. Polytechnic Kopargaon Department of Computer Technology Prof. Vaibhav A. Parjane
  • 10. Non Linear Data Structures: TREE GRAPH 10 Sanjivani K. B. P. Polytechnic Kopargaon Department of Computer Technology Prof. Vaibhav A. Parjane
  • 11. Difference Between Linear and Non Linear Data Structure Linear Data Structure Non-Linear Data Structure Every item is related to its previous and next item. Every item is attached with many other items. Data is arranged in linear sequence. Data is not arranged in sequence. Data items can be traversed in a single run. Data can not be traversed in a single run. Examples: Array, Stack, Queue, Linked List. Examples: Tree, Graph. Implementation is Easy. Implementation is Difficult. 11 Sanjivani K. B. P. Polytechnic Kopargaon Department of Computer Technology Prof. Vaibhav A. Parjane