SlideShare a Scribd company logo
1 of 11
Download to read offline
www.eshikshak.co.in
● A data type is a collection of values and a set of
  operations that act on those values
● A data type refers to the type of values that
  variables in a programming language hold.
● Whether our program is dealing with predefined or
  user defined data types. The following two aspects
  must be considered.
   ○ Set of Values
   ○ Set of operations
● for e.g. int data type consists of values {minint, …..,
  -2, -1, 0, 1, 2, ……., maxint}
                    www.eshikshak.co.in
● Primitive Data Type
   ○ A data type that is predefined.
   ○ Also known as built in data type.
   ○ It may be different for different programming
     languages.
   ○ Inbuilt data type of ‘C’ – int, real(float,double), char
● Abstract Data Type
   ○ It is a data type that is organized in such a way that
     the specification of the values and the specification
     of the operation on those values are
      ■ Separated from the representation of the values
      ■ Implementation of the operations
                     www.eshikshak.co.in
● Boolean (True/False values)
● char (char values)
● Float (real number values)
● Double ( a larger size of type float)
● int (fixed-precision values)
● String (for storing of chars)




                    www.eshikshak.co.in
● “Data Structure is a branch of computer science
  that unleashes the knowledge of how the data
  should be organized, how the flow of data should
  be controlled and how a data structure should be
  designed and implemented to reduce the
  complexity and increase the efficiency of the
  algorithm”




                  www.eshikshak.co.in
● boolean
  ○ Also known as logical data type
  ○ Having two values TRUE and FALSE
● char
  ○ It is used to store character, letters, symbols or digits
  ○ Different codes available to store data in character
    form such as BCD, EBCDIC, ASCII




                    www.eshikshak.co.in
● float
   ○ It is used to represent real numbers in computers is
     floating-point notation.
● int
   ○ Basic data type which is commonly used for storing
     negative as well as non-negative integer numbers.
   ○ Different codes available to store data in character
     form such as BCD, EBCDIC, ASCII




                    www.eshikshak.co.in
● List is an abstract data type
● A list is a collection of elements which can be
  ordered or unordered.
● The primitives operations on a list may include
   ○ Adding New Elements
   ○ Deleting Elements
   ○ Determining number of elements in the list
   ○ Applying a particular process to each element in the
     list
● We are least concerned how the list is represented
  and operations on it are implemented.
                    www.eshikshak.co.in
● Linear Data Structure
● Non-Linear Data Structure




                  www.eshikshak.co.in
● Linear Data Structure
   ○ The elements of linear structure form a sequence
   ○ Example :
      ■ Arrays
      ■ Linked lists
      ■ Stacks
      ■ Queues




                       www.eshikshak.co.in
● Non-Linear Data Structure
   ○ The elements of non-linear structure do not form
     form a sequence
   ○ Example :
      ■ Trees
      ■ Graphs




                   www.eshikshak.co.in

More Related Content

Viewers also liked

Set data structure
Set data structure Set data structure
Set data structure
Tech_MX
 
Introduction of data structure
Introduction of data structureIntroduction of data structure
Introduction of data structure
eShikshak
 
Stack Data Structure & It's Application
Stack Data Structure & It's Application Stack Data Structure & It's Application
Stack Data Structure & It's Application
Tech_MX
 
Tree in data structure
Tree in data structureTree in data structure
Tree in data structure
ghhgj jhgh
 
Data structures (introduction)
 Data structures (introduction) Data structures (introduction)
Data structures (introduction)
Arvind Devaraj
 
Lecture 1 data structures and algorithms
Lecture 1 data structures and algorithmsLecture 1 data structures and algorithms
Lecture 1 data structures and algorithms
Aakash deep Singhal
 

Viewers also liked (17)

Effective Semantic Web Service Composition Framework Based on QoS
Effective Semantic Web Service Composition Framework Based on QoSEffective Semantic Web Service Composition Framework Based on QoS
Effective Semantic Web Service Composition Framework Based on QoS
 
Set data structure
Set data structure Set data structure
Set data structure
 
Data Management (Data Mining Association Rule)
Data Management (Data Mining Association Rule)Data Management (Data Mining Association Rule)
Data Management (Data Mining Association Rule)
 
Data structure & algorithms introduction
Data structure & algorithms introductionData structure & algorithms introduction
Data structure & algorithms introduction
 
Introduction to Data structure & Algorithms - Sethuonline.com | Sathyabama Un...
Introduction to Data structure & Algorithms - Sethuonline.com | Sathyabama Un...Introduction to Data structure & Algorithms - Sethuonline.com | Sathyabama Un...
Introduction to Data structure & Algorithms - Sethuonline.com | Sathyabama Un...
 
Unit 1.4 working of cloud computing
Unit 1.4 working of cloud computingUnit 1.4 working of cloud computing
Unit 1.4 working of cloud computing
 
Data Management (Data Mining Klasifikasi)
Data Management (Data Mining Klasifikasi)Data Management (Data Mining Klasifikasi)
Data Management (Data Mining Klasifikasi)
 
Introduction of data structure
Introduction of data structureIntroduction of data structure
Introduction of data structure
 
Stack Data Structure & It's Application
Stack Data Structure & It's Application Stack Data Structure & It's Application
Stack Data Structure & It's Application
 
Tree in data structure
Tree in data structureTree in data structure
Tree in data structure
 
Data structures (introduction)
 Data structures (introduction) Data structures (introduction)
Data structures (introduction)
 
Data Structure
Data StructureData Structure
Data Structure
 
Notes DATA STRUCTURE - queue
Notes DATA STRUCTURE - queueNotes DATA STRUCTURE - queue
Notes DATA STRUCTURE - queue
 
Lecture 1 data structures and algorithms
Lecture 1 data structures and algorithmsLecture 1 data structures and algorithms
Lecture 1 data structures and algorithms
 
DATA STRUCTURES
DATA STRUCTURESDATA STRUCTURES
DATA STRUCTURES
 
Trees data structure
Trees data structureTrees data structure
Trees data structure
 
Work Hacks : Body Language
Work Hacks : Body LanguageWork Hacks : Body Language
Work Hacks : Body Language
 

Similar to Data structure

CHAPTER-1- Introduction to data structure.pptx
CHAPTER-1- Introduction to data structure.pptxCHAPTER-1- Introduction to data structure.pptx
CHAPTER-1- Introduction to data structure.pptx
OnkarModhave
 
Big Data & Social Analytics presentation
Big Data & Social Analytics presentationBig Data & Social Analytics presentation
Big Data & Social Analytics presentation
gustavosouto
 

Similar to Data structure (20)

Classification of DS.pptx
Classification of DS.pptxClassification of DS.pptx
Classification of DS.pptx
 
Data structure
Data structureData structure
Data structure
 
Data structures
Data structuresData structures
Data structures
 
Introduction to Data Structures
Introduction to Data StructuresIntroduction to Data Structures
Introduction to Data Structures
 
CHAPTER-1- Introduction to data structure.pptx
CHAPTER-1- Introduction to data structure.pptxCHAPTER-1- Introduction to data structure.pptx
CHAPTER-1- Introduction to data structure.pptx
 
Introduction to data structures (ss)
Introduction to data structures (ss)Introduction to data structures (ss)
Introduction to data structures (ss)
 
Introduction to Data Structures
Introduction to Data StructuresIntroduction to Data Structures
Introduction to Data Structures
 
DATA-STRUCTURES.pptx
DATA-STRUCTURES.pptxDATA-STRUCTURES.pptx
DATA-STRUCTURES.pptx
 
data Structure
data Structuredata Structure
data Structure
 
Lecture 01
Lecture 01Lecture 01
Lecture 01
 
Data structures list
Data structures listData structures list
Data structures list
 
Model Fields in Odoo 15
 Model Fields in Odoo 15 Model Fields in Odoo 15
Model Fields in Odoo 15
 
Unit 1.ppt
Unit 1.pptUnit 1.ppt
Unit 1.ppt
 
Data Structure # vpmp polytechnic
Data Structure # vpmp polytechnicData Structure # vpmp polytechnic
Data Structure # vpmp polytechnic
 
ds bridge.pptx
ds bridge.pptxds bridge.pptx
ds bridge.pptx
 
Ballerina Tutorial @ SummerSOC 2019
Ballerina Tutorial @ SummerSOC 2019Ballerina Tutorial @ SummerSOC 2019
Ballerina Tutorial @ SummerSOC 2019
 
Big Data & Social Analytics presentation
Big Data & Social Analytics presentationBig Data & Social Analytics presentation
Big Data & Social Analytics presentation
 
Data Structure & aaplications_Module-1.pptx
Data Structure & aaplications_Module-1.pptxData Structure & aaplications_Module-1.pptx
Data Structure & aaplications_Module-1.pptx
 
01. introduction to data structures
01. introduction to data structures01. introduction to data structures
01. introduction to data structures
 
Cassandra Lunch #91: Collections in Cassandra
Cassandra Lunch #91: Collections in CassandraCassandra Lunch #91: Collections in Cassandra
Cassandra Lunch #91: Collections in Cassandra
 

More from eShikshak

Mesics lecture 4 c operators and experssions
Mesics lecture  4   c operators and experssionsMesics lecture  4   c operators and experssions
Mesics lecture 4 c operators and experssions
eShikshak
 
Mesics lecture 5 input – output in ‘c’
Mesics lecture 5   input – output in ‘c’Mesics lecture 5   input – output in ‘c’
Mesics lecture 5 input – output in ‘c’
eShikshak
 

More from eShikshak (20)

Modelling and evaluation
Modelling and evaluationModelling and evaluation
Modelling and evaluation
 
Operators in python
Operators in pythonOperators in python
Operators in python
 
Datatypes in python
Datatypes in pythonDatatypes in python
Datatypes in python
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Introduction to e commerce
Introduction to e commerceIntroduction to e commerce
Introduction to e commerce
 
Chapeter 2 introduction to cloud computing
Chapeter 2   introduction to cloud computingChapeter 2   introduction to cloud computing
Chapeter 2 introduction to cloud computing
 
Unit 1.3 types of cloud
Unit 1.3 types of cloudUnit 1.3 types of cloud
Unit 1.3 types of cloud
 
Unit 1.2 move to cloud computing
Unit 1.2   move to cloud computingUnit 1.2   move to cloud computing
Unit 1.2 move to cloud computing
 
Unit 1.1 introduction to cloud computing
Unit 1.1   introduction to cloud computingUnit 1.1   introduction to cloud computing
Unit 1.1 introduction to cloud computing
 
Mesics lecture files in 'c'
Mesics lecture   files in 'c'Mesics lecture   files in 'c'
Mesics lecture files in 'c'
 
Mesics lecture 8 arrays in 'c'
Mesics lecture 8   arrays in 'c'Mesics lecture 8   arrays in 'c'
Mesics lecture 8 arrays in 'c'
 
Mesics lecture 7 iteration and repetitive executions
Mesics lecture 7   iteration and repetitive executionsMesics lecture 7   iteration and repetitive executions
Mesics lecture 7 iteration and repetitive executions
 
Mesics lecture 5 input – output in ‘c’
Mesics lecture 5   input – output in ‘c’Mesics lecture 5   input – output in ‘c’
Mesics lecture 5 input – output in ‘c’
 
Mesics lecture 6 control statement = if -else if__else
Mesics lecture 6   control statement = if -else if__elseMesics lecture 6   control statement = if -else if__else
Mesics lecture 6 control statement = if -else if__else
 
Mesics lecture 4 c operators and experssions
Mesics lecture  4   c operators and experssionsMesics lecture  4   c operators and experssions
Mesics lecture 4 c operators and experssions
 
Mesics lecture 5 input – output in ‘c’
Mesics lecture 5   input – output in ‘c’Mesics lecture 5   input – output in ‘c’
Mesics lecture 5 input – output in ‘c’
 
Mesics lecture 3 c – constants and variables
Mesics lecture 3   c – constants and variablesMesics lecture 3   c – constants and variables
Mesics lecture 3 c – constants and variables
 
Lecture 7 relational_and_logical_operators
Lecture 7 relational_and_logical_operatorsLecture 7 relational_and_logical_operators
Lecture 7 relational_and_logical_operators
 
Lecture21 categoriesof userdefinedfunctions.ppt
Lecture21 categoriesof userdefinedfunctions.pptLecture21 categoriesof userdefinedfunctions.ppt
Lecture21 categoriesof userdefinedfunctions.ppt
 
Lecture20 user definedfunctions.ppt
Lecture20 user definedfunctions.pptLecture20 user definedfunctions.ppt
Lecture20 user definedfunctions.ppt
 

Recently uploaded

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Recently uploaded (20)

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 

Data structure

  • 2. ● A data type is a collection of values and a set of operations that act on those values ● A data type refers to the type of values that variables in a programming language hold. ● Whether our program is dealing with predefined or user defined data types. The following two aspects must be considered. ○ Set of Values ○ Set of operations ● for e.g. int data type consists of values {minint, ….., -2, -1, 0, 1, 2, ……., maxint} www.eshikshak.co.in
  • 3. ● Primitive Data Type ○ A data type that is predefined. ○ Also known as built in data type. ○ It may be different for different programming languages. ○ Inbuilt data type of ‘C’ – int, real(float,double), char ● Abstract Data Type ○ It is a data type that is organized in such a way that the specification of the values and the specification of the operation on those values are ■ Separated from the representation of the values ■ Implementation of the operations www.eshikshak.co.in
  • 4. ● Boolean (True/False values) ● char (char values) ● Float (real number values) ● Double ( a larger size of type float) ● int (fixed-precision values) ● String (for storing of chars) www.eshikshak.co.in
  • 5. ● “Data Structure is a branch of computer science that unleashes the knowledge of how the data should be organized, how the flow of data should be controlled and how a data structure should be designed and implemented to reduce the complexity and increase the efficiency of the algorithm” www.eshikshak.co.in
  • 6. ● boolean ○ Also known as logical data type ○ Having two values TRUE and FALSE ● char ○ It is used to store character, letters, symbols or digits ○ Different codes available to store data in character form such as BCD, EBCDIC, ASCII www.eshikshak.co.in
  • 7. ● float ○ It is used to represent real numbers in computers is floating-point notation. ● int ○ Basic data type which is commonly used for storing negative as well as non-negative integer numbers. ○ Different codes available to store data in character form such as BCD, EBCDIC, ASCII www.eshikshak.co.in
  • 8. ● List is an abstract data type ● A list is a collection of elements which can be ordered or unordered. ● The primitives operations on a list may include ○ Adding New Elements ○ Deleting Elements ○ Determining number of elements in the list ○ Applying a particular process to each element in the list ● We are least concerned how the list is represented and operations on it are implemented. www.eshikshak.co.in
  • 9. ● Linear Data Structure ● Non-Linear Data Structure www.eshikshak.co.in
  • 10. ● Linear Data Structure ○ The elements of linear structure form a sequence ○ Example : ■ Arrays ■ Linked lists ■ Stacks ■ Queues www.eshikshak.co.in
  • 11. ● Non-Linear Data Structure ○ The elements of non-linear structure do not form form a sequence ○ Example : ■ Trees ■ Graphs www.eshikshak.co.in