Top Banner
Organisation of Data
14

So far in ICT we’ve covered how data is entered into computers (data capture) and how it’s checked (validation and verification). In this section.

Jan 04, 2016

Download

Documents

Giles Snow
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: So far in ICT we’ve covered how data is entered into computers (data capture) and how it’s checked (validation and verification).  In this section.

Organisation of Data

Page 2: So far in ICT we’ve covered how data is entered into computers (data capture) and how it’s checked (validation and verification).  In this section.

Introduction

So far in ICT we’ve covered how data is entered into computers (data capture) and how it’s checked (validation and verification).

In this section of the course we’ll look at how data is organised/stored so that it can be retrieved effectively

Capturing Data Data Checking Storage & Retrieval

Page 3: So far in ICT we’ve covered how data is entered into computers (data capture) and how it’s checked (validation and verification).  In this section.

What is a Database? A collection of organised

data Data has structure Can be paper-based More common to talk

about electronic databases i.e. computer-based

Page 4: So far in ICT we’ve covered how data is entered into computers (data capture) and how it’s checked (validation and verification).  In this section.

Flat File Databases A flat-file database is a simple

database that stores all data in a single table

A flat-file database can be stored in a text file, such as a tab-delimited file; a spreadsheet; or in a database file that contains one or more unrelated tables.

Page 5: So far in ICT we’ve covered how data is entered into computers (data capture) and how it’s checked (validation and verification).  In this section.

Database Concepts Flat file example

FatMax 2007. Licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License

Record

A single record will hold all the data relating to one unit of processing. e.g a track Field

A field stores one item of data for the record

FileData file contains a number of records

Page 6: So far in ICT we’ve covered how data is entered into computers (data capture) and how it’s checked (validation and verification).  In this section.

Database Concepts 2

Data types (Access specific) There are 5 main data types

Text

Date

Numeric

Boolean

Counter

Characters

True/False

Numbers

Various formats

Auto-inserted no.

Page 7: So far in ICT we’ve covered how data is entered into computers (data capture) and how it’s checked (validation and verification).  In this section.

Flat File Databases 2 Useful for simple lists:

• Address book/contact list• CD collection

But many problems• You’ll usually be asked to identify FOUR

problems with flat files in the exam so pay attention to the next few slides!

Page 8: So far in ICT we’ve covered how data is entered into computers (data capture) and how it’s checked (validation and verification).  In this section.

Problems with flat files

Redundancy Large amounts

of duplicated data

Makes data entry slower

Uses disk space Leads to other

problems…

Page 9: So far in ICT we’ve covered how data is entered into computers (data capture) and how it’s checked (validation and verification).  In this section.

Problems with flat files 2

Reduced data integrity More likely to be inaccurate!

Due to:• Data input errors• Inconsistent data entry

Page 10: So far in ICT we’ve covered how data is entered into computers (data capture) and how it’s checked (validation and verification).  In this section.

Flat files – more problemsDifficult to update

• If entries change all instances have to be updated

Security• All users have access to the same set of

dataProgram-Data Dependence

• The user interface (amongst other things) is tied to a specific file. To create new views of data you would need to create new data files

Page 11: So far in ICT we’ve covered how data is entered into computers (data capture) and how it’s checked (validation and verification).  In this section.

Overcoming problems - RDBMS

The problems associated with flat files can be solved by moving some of the data out of the main table and accessing it when required

A relational database (RDBMS) is a more complex database that stores data in multiple tables that are interrelated.

Page 12: So far in ICT we’ve covered how data is entered into computers (data capture) and how it’s checked (validation and verification).  In this section.

RDBMS In the example on the previous slide there is

still a problem in the ORDERS table. How would you resolve it?

Relational databases are covered in more detail in another presentation. For now it is only important that you can identify the benefits of RDBMS over flat file systems…

Page 13: So far in ICT we’ve covered how data is entered into computers (data capture) and how it’s checked (validation and verification).  In this section.

RDBMS - benefits Reduced redundancy Improved data consistency Improved data integrity Better security Program-data independence

Page 14: So far in ICT we’ve covered how data is entered into computers (data capture) and how it’s checked (validation and verification).  In this section.

More research/tasks Using your textbook (or web-based

resources) make notes on the five benefits of RDBMS listed on the previous slide