SlideShare una empresa de Scribd logo
1 de 10
1.2 SOURCES OF DATA
H’MM
OBJECTIVES
The learners will be able to:
 Define Static Data and give examples
 Define Dynamic Data and give examples
 Compare the use of static information sources with dynamic information
sources
 Define direct and indirect data source
 Understand the advantages and disadvantages of gathering data from direct
and indirect data sources
DATA STRUCTURE
 What is a data structure?
“A data structure is a collection of data items that is
implemented by various development tools.”
STATIC DATA STRUCTURE
“MR. DEPENDABLE”
STATIC DATA STRUCTURE
 The size of the data structure is fixed
 Static data structures are very good for storing a well-defined number of
data items.
 For example, if we want to design an ID field for employees of an
organization. We can suggest it to be a fixed format e.g. “HIS000”; where
the 1st 3 characters are the initials of the organization and the other
three the employee number e.g. HIS225.
ADVANTAGES OF STATIC DATA STRUCTURES
 The development tool can allocate space during compilation
 Easy to program
 Easy to check for overflow
 Allows random access
DISADVANTAGES OF STATIC DATA STRUCTURES
 The developer has to estimate the maximum amount of space that is
going to be needed.
 A lot of space maybe wasted.
DYNAMIC DATA STRUCTURE
“MR. ADAPTABLE”
DYNAMIC DATA STRUCTURE
 There are many situations where the number of items to be stored in
NOT known in advance e.g. the length of someone’s name may NOT be
the same as any other’s name.
 In this case, the developer would be using a dynamic data structure. This
means that the data structure is allowed to grow and shrink as the
demand for storage arises.
 The developer should also set a maximum size to help avoid memory
collisions.
DYNAMIC DATA STATIC DATA
Memory is allocated to the data structure
dynamically.
Memory is allocated at compile time. Fixed size.
Limitation: As the memory allocation is dynamic, it
is possible to ‘overflow’ should it exceed it’s allowed
limit. It can also ‘underflow’ if it becomes empty.
Benefit: The memory allocation is fixed and so
there will be no problem with adding an removing
data items.
Benefit: Makes the most efficient use of memory as
the data structure – only uses as much memory it
needs.
Limitation: Can be very inefficient as the memory
for the data structure has been set aside regardless
we use it or not.
Limitation: Harder to program as the software
needs to keep track of its size and data item
locations at all times.
Benefit: Easier to program as there is no need to
check on data structure size at any point.

Más contenido relacionado

La actualidad más candente

Difference between ER-Modeling and Dimensional Modeling
Difference between ER-Modeling and Dimensional ModelingDifference between ER-Modeling and Dimensional Modeling
Difference between ER-Modeling and Dimensional Modeling
Abdul Aslam
 

La actualidad más candente (14)

Tableau file types
Tableau   file typesTableau   file types
Tableau file types
 
multi dimensional data model
multi dimensional data modelmulti dimensional data model
multi dimensional data model
 
Spreadsheet Introduction - R.D.Sivakumar
Spreadsheet Introduction - R.D.SivakumarSpreadsheet Introduction - R.D.Sivakumar
Spreadsheet Introduction - R.D.Sivakumar
 
Spatial Database
Spatial DatabaseSpatial Database
Spatial Database
 
Difference between ER-Modeling and Dimensional Modeling
Difference between ER-Modeling and Dimensional ModelingDifference between ER-Modeling and Dimensional Modeling
Difference between ER-Modeling and Dimensional Modeling
 
Db4 th
Db4 thDb4 th
Db4 th
 
Ms excel
Ms excelMs excel
Ms excel
 
Dimensional data model
Dimensional data modelDimensional data model
Dimensional data model
 
Data Mining: Data processing
Data Mining: Data processingData Mining: Data processing
Data Mining: Data processing
 
5 data preparation and processing2
5 data preparation and processing25 data preparation and processing2
5 data preparation and processing2
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
Data Mining: Applying data mining
Data Mining: Applying data miningData Mining: Applying data mining
Data Mining: Applying data mining
 
Data analytics with R
Data analytics with RData analytics with R
Data analytics with R
 
Multidimensional data models
Multidimensional data  modelsMultidimensional data  models
Multidimensional data models
 

Destacado

Resume Mustika Sari (Januari 2013 Updated)
Resume Mustika Sari (Januari 2013 Updated)Resume Mustika Sari (Januari 2013 Updated)
Resume Mustika Sari (Januari 2013 Updated)
Mustika Sari
 

Destacado (15)

1.3 Control Output Devices
1.3 Control Output Devices1.3 Control Output Devices
1.3 Control Output Devices
 
1.1 Input devices
1.1 Input devices1.1 Input devices
1.1 Input devices
 
1.4 Backing Storage Media and Devices
1.4 Backing Storage Media and Devices1.4 Backing Storage Media and Devices
1.4 Backing Storage Media and Devices
 
1.2 Output devices
1.2 Output devices1.2 Output devices
1.2 Output devices
 
1.5 Portable Communication Devices
1.5 Portable Communication Devices1.5 Portable Communication Devices
1.5 Portable Communication Devices
 
Quality of information
Quality of informationQuality of information
Quality of information
 
Cómo buscar en una base de datos
Cómo buscar en una base de datosCómo buscar en una base de datos
Cómo buscar en una base de datos
 
Desparasitantes internos
Desparasitantes internosDesparasitantes internos
Desparasitantes internos
 
жылкайдар асан+щит+организации
жылкайдар асан+щит+организациижылкайдар асан+щит+организации
жылкайдар асан+щит+организации
 
leseprobe
leseprobeleseprobe
leseprobe
 
Medium (Entre Twitter y WordPress)
Medium (Entre Twitter y WordPress)Medium (Entre Twitter y WordPress)
Medium (Entre Twitter y WordPress)
 
Project
ProjectProject
Project
 
AUTOBIOGRAFIA DE AMILCAR CRUZ ORDOÑEZ
AUTOBIOGRAFIA DE AMILCAR CRUZ ORDOÑEZAUTOBIOGRAFIA DE AMILCAR CRUZ ORDOÑEZ
AUTOBIOGRAFIA DE AMILCAR CRUZ ORDOÑEZ
 
Cr18 allow invoicing at parents matter from sub matter v1.0
Cr18 allow invoicing at parents matter from sub matter v1.0Cr18 allow invoicing at parents matter from sub matter v1.0
Cr18 allow invoicing at parents matter from sub matter v1.0
 
Resume Mustika Sari (Januari 2013 Updated)
Resume Mustika Sari (Januari 2013 Updated)Resume Mustika Sari (Januari 2013 Updated)
Resume Mustika Sari (Januari 2013 Updated)
 

Similar a Sources of data

CHAPTER5Database Systemsand Big DataRafal Olechows
CHAPTER5Database Systemsand Big DataRafal OlechowsCHAPTER5Database Systemsand Big DataRafal Olechows
CHAPTER5Database Systemsand Big DataRafal Olechows
JinElias52
 

Similar a Sources of data (20)

1.02 sources of data
1.02 sources of data1.02 sources of data
1.02 sources of data
 
Data masking a developer's guide
Data masking a developer's guideData masking a developer's guide
Data masking a developer's guide
 
DBMS and its Models
DBMS and its ModelsDBMS and its Models
DBMS and its Models
 
Data
DataData
Data
 
Database Systems - Introduction (Chapter 1)
Database Systems - Introduction (Chapter 1)Database Systems - Introduction (Chapter 1)
Database Systems - Introduction (Chapter 1)
 
Management information system
Management information systemManagement information system
Management information system
 
Unit3rd
Unit3rdUnit3rd
Unit3rd
 
Dbms models
Dbms modelsDbms models
Dbms models
 
Course Outline Ch 2
Course Outline Ch 2Course Outline Ch 2
Course Outline Ch 2
 
Data Warehousing AWS 12345
Data Warehousing AWS 12345Data Warehousing AWS 12345
Data Warehousing AWS 12345
 
Database management system
Database management systemDatabase management system
Database management system
 
DSA
DSADSA
DSA
 
Database
DatabaseDatabase
Database
 
Data mining notes
Data mining notesData mining notes
Data mining notes
 
DBMS NOTES.pdf
DBMS  NOTES.pdfDBMS  NOTES.pdf
DBMS NOTES.pdf
 
Database 1 Introduction
Database 1   IntroductionDatabase 1   Introduction
Database 1 Introduction
 
CHAPTER5Database Systemsand Big DataRafal Olechows
CHAPTER5Database Systemsand Big DataRafal OlechowsCHAPTER5Database Systemsand Big DataRafal Olechows
CHAPTER5Database Systemsand Big DataRafal Olechows
 
27 fcs157al2
27 fcs157al227 fcs157al2
27 fcs157al2
 
Database fundamentals
Database fundamentalsDatabase fundamentals
Database fundamentals
 
CCS367-Storage-Technologies-Lecture-Notes-1.pdf
CCS367-Storage-Technologies-Lecture-Notes-1.pdfCCS367-Storage-Technologies-Lecture-Notes-1.pdf
CCS367-Storage-Technologies-Lecture-Notes-1.pdf
 

Más de Haa'Meem Mohiyuddin

Más de Haa'Meem Mohiyuddin (8)

Introduction to system life cycle
Introduction to system life cycleIntroduction to system life cycle
Introduction to system life cycle
 
Users - an inseparable part of a system
Users - an inseparable part of a systemUsers - an inseparable part of a system
Users - an inseparable part of a system
 
Stage 5 - Documentation
Stage 5 - DocumentationStage 5 - Documentation
Stage 5 - Documentation
 
Stage 2 - Design
Stage 2 - DesignStage 2 - Design
Stage 2 - Design
 
Stage 1 - Analysis
Stage 1 -  AnalysisStage 1 -  Analysis
Stage 1 - Analysis
 
1.04 coding of data
1.04 coding of data1.04 coding of data
1.04 coding of data
 
1.03 Quality of information
1.03 Quality of information1.03 Quality of information
1.03 Quality of information
 
Data, knowledge and information
Data, knowledge and informationData, knowledge and information
Data, knowledge and information
 

Último

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
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
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
 

Último (20)

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
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
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
 
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
 
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
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
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
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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...
 
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 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
 
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?
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

Sources of data

  • 1. 1.2 SOURCES OF DATA H’MM
  • 2. OBJECTIVES The learners will be able to:  Define Static Data and give examples  Define Dynamic Data and give examples  Compare the use of static information sources with dynamic information sources  Define direct and indirect data source  Understand the advantages and disadvantages of gathering data from direct and indirect data sources
  • 3. DATA STRUCTURE  What is a data structure? “A data structure is a collection of data items that is implemented by various development tools.”
  • 5. STATIC DATA STRUCTURE  The size of the data structure is fixed  Static data structures are very good for storing a well-defined number of data items.  For example, if we want to design an ID field for employees of an organization. We can suggest it to be a fixed format e.g. “HIS000”; where the 1st 3 characters are the initials of the organization and the other three the employee number e.g. HIS225.
  • 6. ADVANTAGES OF STATIC DATA STRUCTURES  The development tool can allocate space during compilation  Easy to program  Easy to check for overflow  Allows random access
  • 7. DISADVANTAGES OF STATIC DATA STRUCTURES  The developer has to estimate the maximum amount of space that is going to be needed.  A lot of space maybe wasted.
  • 9. DYNAMIC DATA STRUCTURE  There are many situations where the number of items to be stored in NOT known in advance e.g. the length of someone’s name may NOT be the same as any other’s name.  In this case, the developer would be using a dynamic data structure. This means that the data structure is allowed to grow and shrink as the demand for storage arises.  The developer should also set a maximum size to help avoid memory collisions.
  • 10. DYNAMIC DATA STATIC DATA Memory is allocated to the data structure dynamically. Memory is allocated at compile time. Fixed size. Limitation: As the memory allocation is dynamic, it is possible to ‘overflow’ should it exceed it’s allowed limit. It can also ‘underflow’ if it becomes empty. Benefit: The memory allocation is fixed and so there will be no problem with adding an removing data items. Benefit: Makes the most efficient use of memory as the data structure – only uses as much memory it needs. Limitation: Can be very inefficient as the memory for the data structure has been set aside regardless we use it or not. Limitation: Harder to program as the software needs to keep track of its size and data item locations at all times. Benefit: Easier to program as there is no need to check on data structure size at any point.