2
Most read
5
Most read
10
Most read
DataStructures
Basic Terminologies
1
DataStructures
“Clever” waysto organizeinformation in order to enable
efficient computation
– What do wemean by clever?
– What do wemean by efficient?
2
Basic Terminologies & Asymptotic
Notations
Definition
• DataStructureisaway of collecting and organizing data
in such away that wecan perform operationson these
datain an effectiveway. DataStructuresisabout
rendering dataelementsin termsof somerelationship, for
better organization and storage.
• Datastructurescan implement oneor moreparticular 
abstract datatypes(ADT), which arethemeansof
specifying thecontract of operationsand their complexity
.
Data Structures - Introduction 3
Picking thebest
DataStructurefor thejob
• Thedatastructureyou pick needsto suppo rt the
operationsyou need
• Ideally it supportstheoperationsyou will usemost
often in an efficient manner
• Examplesof operations:
– A List with operationsinsert and delete
– A Stack with operationspushand pop
4
Basic Terminologies & Asymptotic
Notations
Terminology
• Abstract DataType(ADT)
– Mathematical description of an object with set of
operationson theobject. Useful building block.
• Algorithm
– A high level, languageindependent, description of
astep-by-step process
• Datastructure
– A specific family of algorithmsfor implementing
an abstract datatype.
• Implementation of datastructure
– A specific implementation in aspecific language
5
Basic Terminologies & Asymptotic
Notations
Terminology
• Data
Datarefersto valueor set of values.
e.g.Marksobtained by thestudents.
• Datatype
datatypeisaclassification identifying oneof varioustypes
of data, such as floating-point, integer, or Boolean, that
determinesthepossiblevaluesfor that type; theoperations
that can bedoneon valuesof that type; and theway values
of that typecan bestored
Data Structures - Introduction 6
Terminology
• Primitivedatatype:
Thesearebasic datatypesthat areprovided by the
programming languagewith built-in support. Thesedata
typesare nativeto thelanguage. Thisdatatypeis
supported by machinedirectly
• Variable
Variableisasymbolic namegiven to someknown or
unknown quantity or information, for thepurposeof
allowing thenameto beused independently of the
information it represents.
Data Structures - Introduction 7
Terminology
• Record
Collection of related dataitemsisknown asrecord. The
elementsof recordsareusually Called fieldsor members.
Recordsare distinguished from arraysby thefact that
their number of fieldsistypically fixed, each field hasa
name, and that each field may haveadifferent type.
• Program
A sequenceof instructionsthat acomputer can
interpret and execute.
Data Structures - Introduction 8
Terminology examples
• A stack isan abstract data type supporting push, pop and
isEmpty operations
• A stack data structure could usean array, alinked list, or
anything that can hold data
• Onestack implementatio n isjava.util.Stack; another is
java.util.LinkedList
9
Basic Terminologies & Asymptotic
Notations
Concepts vs. Mechanisms
• Abstract
• Pseudocode
• Algorithm
– A sequenceof high-level,
languageindependent
operations, which may act
upon an abstracted view
of data.
• Abstract DataType(ADT)
– A mathematical
description of an object
and theset of operations
on theobject.
• Concrete
• Specific programming language
• Program
– A sequenceof operationsin a
specific programming language,
which may act upon real datain
theform of numbers, images,
sound, etc.
• Datastructure
– A specific way in which a
program’sdataisrepresented,
which reflectsthe
programmer’sdesign
choices/goals.
10
Why So Many DataStructures?
Ideal datastructure:
“fast”, “elegant”, memory efficient
Generatestensions:
– timevs. space
– performancevs. elegance
– generality vs. simplicity
– oneoperation’sperformancevs. another’s
The study o f data structures is the study
o f tradeo ffs. That’ s why we have so
many o f them!
11Basic Terminologies & Asymptotic
Notations

More Related Content

PPTX
Bubble sort | Data structure |
PPTX
Linked List
PPTX
Binary Search Tree in Data Structure
PPT
Bubble sort
PPT
Binary Search
PPTX
Binary Tree Traversal
PPTX
Decoder Full Presentation
PPTX
stack & queue
Bubble sort | Data structure |
Linked List
Binary Search Tree in Data Structure
Bubble sort
Binary Search
Binary Tree Traversal
Decoder Full Presentation
stack & queue

What's hot (20)

PDF
Algorithms Lecture 4: Sorting Algorithms I
PPTX
Binary Tree in Data Structure
PPTX
Sparse matrix
PDF
Binary tree
PPTX
Binary search
PPTX
Linked List - Insertion & Deletion
PPTX
queue & its applications
PPTX
Bubble Sort Algorithm Presentation
PPT
1.1 binary tree
PPTX
Pipelining and vector processing
PPTX
Introduction to data structure ppt
PDF
Bca data structures linked list mrs.sowmya jyothi
PPTX
Priority Queue in Data Structure
PPTX
Selection sorting
PPT
Linked List
PPTX
Doubly Linked List
PPTX
File organization
PPTX
Merge sort
PPTX
Graph in data structure
PPTX
Stacks IN DATA STRUCTURES
Algorithms Lecture 4: Sorting Algorithms I
Binary Tree in Data Structure
Sparse matrix
Binary tree
Binary search
Linked List - Insertion & Deletion
queue & its applications
Bubble Sort Algorithm Presentation
1.1 binary tree
Pipelining and vector processing
Introduction to data structure ppt
Bca data structures linked list mrs.sowmya jyothi
Priority Queue in Data Structure
Selection sorting
Linked List
Doubly Linked List
File organization
Merge sort
Graph in data structure
Stacks IN DATA STRUCTURES
Ad

Similar to Basic terminologies (20)

PDF
Lesson 1 - Data Structures and Algorithms Overview.pdf
PPTX
DSD Unit 1 Abstract Data Type data structures design notes.pptx
PPTX
DATA STRUCTURES, ADTS INTRO lecture .pptx
PPTX
Introduction to data structure
PPTX
Introduction to data structure
PPT
Chapter 1( intro & overview)
PPTX
DATA STRUCTURE AND COMPUTER ALGORITHMS LECTURE 1
PPT
1. Data structures introduction
PPTX
b,Sc it data structure.pptx
PPTX
data structures and its importance
PPTX
b,Sc it data structure.pptx
PDF
Data Structure Introduction.pdfssssssssssss
PPTX
Intro to data structures.pptx
PPT
b,Sc it data structure.ppt
PDF
Unit-I PPT hususi sisooshsgv. Eijeieieooekejj
PPTX
Introduction to data structures (ss)
PDF
3130703dsgtudarshan Enotesallunits Darshan Institute Of Engineering Technology
PPT
Basics of data structure
PDF
Unit.1 Introduction to Data Structuresres
PPTX
1. Introduction to Data Structure.pptx
Lesson 1 - Data Structures and Algorithms Overview.pdf
DSD Unit 1 Abstract Data Type data structures design notes.pptx
DATA STRUCTURES, ADTS INTRO lecture .pptx
Introduction to data structure
Introduction to data structure
Chapter 1( intro & overview)
DATA STRUCTURE AND COMPUTER ALGORITHMS LECTURE 1
1. Data structures introduction
b,Sc it data structure.pptx
data structures and its importance
b,Sc it data structure.pptx
Data Structure Introduction.pdfssssssssssss
Intro to data structures.pptx
b,Sc it data structure.ppt
Unit-I PPT hususi sisooshsgv. Eijeieieooekejj
Introduction to data structures (ss)
3130703dsgtudarshan Enotesallunits Darshan Institute Of Engineering Technology
Basics of data structure
Unit.1 Introduction to Data Structuresres
1. Introduction to Data Structure.pptx
Ad

More from Rajendran (20)

PPT
Element distinctness lower bounds
PPT
Scheduling with Startup and Holding Costs
PPT
Divide and conquer surfing lower bounds
PPT
Red black tree
PPT
Hash table
PPT
Medians and order statistics
PPT
Proof master theorem
PPT
Recursion tree method
PPT
Recurrence theorem
PPT
Master method
PPT
Master method theorem
PPT
Hash tables
PPT
Lower bound
PPT
Master method theorem
PPT
Greedy algorithms
PPT
Longest common subsequences in Algorithm Analysis
PPT
Dynamic programming in Algorithm Analysis
PPT
Average case Analysis of Quicksort
PPT
Np completeness
PPT
computer languages
Element distinctness lower bounds
Scheduling with Startup and Holding Costs
Divide and conquer surfing lower bounds
Red black tree
Hash table
Medians and order statistics
Proof master theorem
Recursion tree method
Recurrence theorem
Master method
Master method theorem
Hash tables
Lower bound
Master method theorem
Greedy algorithms
Longest common subsequences in Algorithm Analysis
Dynamic programming in Algorithm Analysis
Average case Analysis of Quicksort
Np completeness
computer languages

Recently uploaded (20)

PDF
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
PDF
My India Quiz Book_20210205121199924.pdf
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
Weekly quiz Compilation Jan -July 25.pdf
PPTX
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
PDF
Complications of Minimal Access-Surgery.pdf
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
IGGE1 Understanding the Self1234567891011
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PPTX
Unit 4 Computer Architecture Multicore Processor.pptx
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
PDF
Hazard Identification & Risk Assessment .pdf
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PDF
Uderstanding digital marketing and marketing stratergie for engaging the digi...
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
My India Quiz Book_20210205121199924.pdf
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
Weekly quiz Compilation Jan -July 25.pdf
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
Complications of Minimal Access-Surgery.pdf
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
IGGE1 Understanding the Self1234567891011
A powerpoint presentation on the Revised K-10 Science Shaping Paper
Unit 4 Computer Architecture Multicore Processor.pptx
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
Hazard Identification & Risk Assessment .pdf
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
Uderstanding digital marketing and marketing stratergie for engaging the digi...
AI-driven educational solutions for real-life interventions in the Philippine...
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Practical Manual AGRO-233 Principles and Practices of Natural Farming
B.Sc. DS Unit 2 Software Engineering.pptx

Basic terminologies

  • 2. DataStructures “Clever” waysto organizeinformation in order to enable efficient computation – What do wemean by clever? – What do wemean by efficient? 2 Basic Terminologies & Asymptotic Notations
  • 3. Definition • DataStructureisaway of collecting and organizing data in such away that wecan perform operationson these datain an effectiveway. DataStructuresisabout rendering dataelementsin termsof somerelationship, for better organization and storage. • Datastructurescan implement oneor moreparticular  abstract datatypes(ADT), which arethemeansof specifying thecontract of operationsand their complexity . Data Structures - Introduction 3
  • 4. Picking thebest DataStructurefor thejob • Thedatastructureyou pick needsto suppo rt the operationsyou need • Ideally it supportstheoperationsyou will usemost often in an efficient manner • Examplesof operations: – A List with operationsinsert and delete – A Stack with operationspushand pop 4 Basic Terminologies & Asymptotic Notations
  • 5. Terminology • Abstract DataType(ADT) – Mathematical description of an object with set of operationson theobject. Useful building block. • Algorithm – A high level, languageindependent, description of astep-by-step process • Datastructure – A specific family of algorithmsfor implementing an abstract datatype. • Implementation of datastructure – A specific implementation in aspecific language 5 Basic Terminologies & Asymptotic Notations
  • 6. Terminology • Data Datarefersto valueor set of values. e.g.Marksobtained by thestudents. • Datatype datatypeisaclassification identifying oneof varioustypes of data, such as floating-point, integer, or Boolean, that determinesthepossiblevaluesfor that type; theoperations that can bedoneon valuesof that type; and theway values of that typecan bestored Data Structures - Introduction 6
  • 7. Terminology • Primitivedatatype: Thesearebasic datatypesthat areprovided by the programming languagewith built-in support. Thesedata typesare nativeto thelanguage. Thisdatatypeis supported by machinedirectly • Variable Variableisasymbolic namegiven to someknown or unknown quantity or information, for thepurposeof allowing thenameto beused independently of the information it represents. Data Structures - Introduction 7
  • 8. Terminology • Record Collection of related dataitemsisknown asrecord. The elementsof recordsareusually Called fieldsor members. Recordsare distinguished from arraysby thefact that their number of fieldsistypically fixed, each field hasa name, and that each field may haveadifferent type. • Program A sequenceof instructionsthat acomputer can interpret and execute. Data Structures - Introduction 8
  • 9. Terminology examples • A stack isan abstract data type supporting push, pop and isEmpty operations • A stack data structure could usean array, alinked list, or anything that can hold data • Onestack implementatio n isjava.util.Stack; another is java.util.LinkedList 9 Basic Terminologies & Asymptotic Notations
  • 10. Concepts vs. Mechanisms • Abstract • Pseudocode • Algorithm – A sequenceof high-level, languageindependent operations, which may act upon an abstracted view of data. • Abstract DataType(ADT) – A mathematical description of an object and theset of operations on theobject. • Concrete • Specific programming language • Program – A sequenceof operationsin a specific programming language, which may act upon real datain theform of numbers, images, sound, etc. • Datastructure – A specific way in which a program’sdataisrepresented, which reflectsthe programmer’sdesign choices/goals. 10
  • 11. Why So Many DataStructures? Ideal datastructure: “fast”, “elegant”, memory efficient Generatestensions: – timevs. space – performancevs. elegance – generality vs. simplicity – oneoperation’sperformancevs. another’s The study o f data structures is the study o f tradeo ffs. That’ s why we have so many o f them! 11Basic Terminologies & Asymptotic Notations

Editor's Notes

  • #3: clever – range from techniques with which you are already familiar – eg, representing simple lists – to ones that are more complex, such as hash tables or self-balancing trees. Elegant, mathematically deep, non obvious. making the different meanings of “efficient” precise is much of the work of this course!
  • #11: Note how much messier life becomes when we move from abstract concepts to concrete mechanisms. Being able to abstract the intrinsic problems from the real world scenarios -- or, alternatively, being able to realize an abstract concept in code -- is one of the important skills that computer scientists need to possess. Note that pseudocode is a concept, and a programming language is a mechanism.
  • #12: What does it mean to be “fast”? What about “elegant”?