Software Development Unit 2 Databases What is a database? A collection of data organised in a manner that allows access, retrieval and use of that data.

Slides:



Advertisements
Similar presentations
How data is stored. Data can be stored in paper-based systems including: Reference books Dictionaries Encyclopaedias Directories Index Files Filing systems.
Advertisements

Organisation Of Data (1) Database Theory
Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
Database Management.
3.1 Data and Information –The rapid development of technology exposes us to a lot of facts and figures every day. –Some of these facts are not very meaningful.
Objectives Overview Define the term, database, and explain how a database interacts with data and information Define the term, data integrity, and describe.
Computer Concepts 5th Edition Parsons/Oja Page 492 CHAPTER 10 File And Database Concepts Section A PARSONS/OJA Databases.
Your Interactive Guide to the Digital World Discovering Computers 2012 Chapter 10 Managing a Database.
Database Management: Getting Data Together Chapter 14.
Living in a Digital World Discovering Computers 2010.
Discovering Computers Fundamentals, 2011 Edition Living in a Digital World.
Databases and Database Management Systems
Database Design IST 7-10 Presented by Miss Egan and Miss Richards.
Chapter 9 Database Management
Data Types and Field Properties 5.01 Understand database tables used in business.
MICROSOFT ACCESS Pn. Jamilah Binti Yusof. DEFINITION A database is the computer equivalent of an organized list of information. Typically, this information.
Discovering Computers 2009 Chapter 10 Database Management.
BIS121 IT for Business Application Lecture 8 – Database (Part I)
Database Types of database programs Charles w. Bachman Well- Designed Databases Database Management Systems Types of database programs Daabase Techniques.
Copyright © 2003 by Prentice Hall Module 4 Database Management Systems 1.What is a database? Data hierarchy and data organization Field, record, file,
Your Interactive Guide to the Digital World Discovering Computers 2012.
Discovering Computers Fundamentals, 2012 Edition Your Interactive Guide to the Digital World.
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 13 Database Management Systems: Getting Data Together.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
© Paradigm Publishing Inc. 9-1 Chapter 9 Database and Information Management.
Objectives Overview Define the term, database, and explain how a database interacts with data and information Define the term, data integrity, and describe.
 A database is a collection of data that is organized so that its contents can easily be accessed, managed, and updated. What is Database?
Database Management.
DATABASE DESIGN USING MICROSOFT ACCESS. What is a Database?  DMS Database management system  Database Collection of data organized in a manner that.
Database Basics   Describe the basic organization of a database.   Summarize advantage to using database software.   Define GIGO, and explain how.
Chapter 9 Database Management
Slide 1 St Andrew’s High School Standard Grade Computing Databases Standard Grade Computing Studies.
1 CSC 101 Introduction to Computing Lecture 26 Dr. Iftikhar Azim Niaz 1.
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
Chapter 10 Database Management. Chapter 10 Objectives Discuss the functions common to most DBMSs Identify the qualities of valuable information Explain.
Professor Michael J. Losacco CIS 1110 – Using Computers Database Management Chapter 9.
Objectives Overview Define the term, database, and explain how a database interacts with data and information Describe the qualities of valuable information.
Chapter 9 Database Management. Chapter 9 Objectives Discuss the functions common to most DBMSs Identify the qualities of valuable information Discuss.
Chapter 17 Creating a Database.
Chapter 13 Databases and Information Management. Explain why data and information are important to an organization Identify file maintenance techniques.
Discovering Computers 2008 Chapter 10 Database Management.
1 Database Concepts 2 Definition of a Database An organized Collection Of related records.
Databases. What is a database?  A database is used to store data. The word DATA is actually Latin for FACTS. A database is, therefore, a place, or thing.
Database Management Systems.  Database management system (DBMS)  Store large collections of data  Organize the data  Becomes a data storage system.
ITGS Databases.
1 CSE 2337 Introduction to Data Management Access Book – Ch 1.
Data protection This means ensuring that stored data does not get changed, removed or accessed accidentally or by unauthorised people. Data can be corrupted,
Relational Databases. Relational database  data stored in tables  must put data into the correct tables  define relationship between tables  primary.
Database Management Systems (DBMS)
Computing and Information Science 1 Databases START.
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
0 / Database Management. 1 / Identify file maintenance techniques Discuss the terms character, field, record, and table Describe characteristics.
1 Chapter 9 Database Management. Objectives Overview Define the term, database, and explain how a database interacts with data and information Describe.
Chapter 11 Information and Data Management Discovering Computers Technology in a World of Computers, Mobile Devices, and the Internet.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
Presentation on Database management Submitted To: Prof: Rutvi Sarang Submitted By: Dharmishtha A. Baria Roll:No:1(sem-3)
Notes: **A Row is considered one Record. **A Column is a Field. A Database is…  an organized set of stored information usually on one topic  a collection.
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
GCSE ICT How data is stored. How is data stored? Data can be stored in paper-based systems including: –Reference books –Dictionaries –Encyclopaedias –Directories.
Database (Microsoft Access). Database A database is an organized collection of related data about a specific topic or purpose. Examples of databases include:
( ) 1 Chapter # 8 How Data is stored DATABASE.
GO! with Microsoft Office 2016
GO! with Microsoft Access 2016
Chapter Ten Managing a Database.
Week 12 Option 3: Database Design
Database Management Systems
Spreadsheets, Modelling & Databases
The ultimate in data organization
Presentation transcript:

Software Development Unit 2 Databases

What is a database? A collection of data organised in a manner that allows access, retrieval and use of that data. Data is a collection of unprocessed items, which can include text, numbers, images, audio and video. Information is processed data; it is organised, meaningful and useful. Information can be in the form of audio, images and video.

Computers process data in a database into information. Database software – Database Management System (DBMS) - users create a computerised database that allows them to add, modify and delete data in a database; sort and retrieve data from the database; and create forms and reports from the data in the database. Databases allow instant access to data and information.

Most organisations realise that data is one of their more valuable assets, because data is used to generate information. To make sure that data is accessible, organisations must manage and protect its data. It is vital that the data stored in database software has integrity and is kept secure.

Data Integrity For a computer to produce correct information, the data that is entered into a database must have integrity – data integrity identifies the quality of the data. Data integrity is important because computers and people use information to make decisions and take actions.

Qualities of Valuable Information: For information to have value, it should be: Accurate – error free Verifiable – can be proven as correct or incorrect Timely – has an age limit suited to its use Organised – arranged to suit the needs and requirements of the decision maker Accessible – available when the decision maker needs it Useful – has meaning to the person who receives it Cost-effective – should give more value than it costs to produce.

The 3 main functions of a database are: 1.Data definition 2.Data manipulation 3.Data control

1. Data Definition An electronic database allows you to define the data including its: Data Type Format Storage requirements Maintenance of Data Integrity

2. Data Manipulation Allows you to: Manipulate data efficiently Record and retrieve data easily Search and sort data for particular purposes Produce effective and timely reports Update or add new data at any time

3. Data Control Allows you to Control user access to the data Query the database for specific information Sort and search faster and more accurately

Database Management System A DBMS is the program that creates the database and can manipulate the data within it. They have no data in them. Are used to create the structure that will contain the data. Allows users to create a database to suit their particular purposes.

Parts Of A Database Databases are made up of RECORDS. A record is the information about one particular person or thing. A record is a group of related fields. Each record has a similar structure but contains different data.

Every record is made up of a number of FIELDS. A field is a ‘container’ for a particular item of data. The same field on different records contains the same kind of data. Data is entered into each field of a record.

Example: Coordinators at PEGS use a database that contains information about every student -DeltaLink. All the information about any one student is a record. Within each record there would be separate fields for the student’s first name, surname, address, phone number, photograph, etc.

A database defines each field by a number of characteristics such as field size and data type. Field size defines the maximum number of characters a field can contain. Eg the Surname field contains 15 characters and so has a field size of 15. Data type specifies the kind of data a field can contain and how the field is used.

Common data types are: Text – letters, numbers or special characters. Numeric – numbers only. AutoNumber – automatically assigned unique number. Currency – dollar and cent amounts. Date – month, day, year. Memo – long text entries. Yes/No (Boolean) – only Yes or No (True/False). Hyperlink – address or Web address that links to a Web page on the Internet or a Document on a network Object – photo, audio, video or other documents.

Relational Databases Early database programs were called ‘flat-file’ databases because all data was stored in one central table. These days most commercial database packages store and handle data using a Relational Database Management System (RDBMS).

A relational database is a database that stores data in tables that consist of rows and columns. Each row has a primary key and each column (field) has a unique name. A relational database stores data as well as data relationships. A relationship is a link within the data. Relationships are set up between tables within a relational database. To do this, the tables must have a common column (field).

The common column (field) is often linked by a unique ID number that is assigned to each record. Relational databases allow for the efficient sharing of information between different users.

Tables in a relational database can be linked in a variety of ways (relationships): 1.A one-to-one relationship means that for each record in the first table, there is exactly one record in the second table.

Example: Each patient has one medical record and each particular medical record relates to only one person.

2. The most common relationship is a one-to- many relationship. This means that only one record in the first table can be related to many other records in the second table BUT any record in the second table only relates to one record in the first table.

Example One student can take out many books from the library but any one book can only be taken out by one student at a time.

3. A many-to-many relationship means that for each record in the first table, many records are required in the second table AND for each record in the second table, many records are required in the first table.

Example Each student will study many subjects and each subject will be studied by many students. INFO TECH MATHS SCIENCE

Database Features Storing Large amounts of data can be stored for later use or modification. It is generally stored on hard disk and backed up to prevent loss

Validation All database management systems allow for electronic validation. It involves checking, electronically or non-electronically, the integrity of data to ensure that the input data is accurate, relevant and complete.

Sorting Data may be sorted alphabetically, numerically, chronologically, or in descending or ascending order. A number of different fields can be sorted simultaneously in priority order.

Searching Allows records to be found according to certain criteria Search criteria are established which use a field, a comparison operator eg >, <, =, etc and comparative data.

Reporting By the process of searching, sorting and calculating, data is manipulated into meaningful information. This information must be communicated usually in the form of a hard copy report. Reports include a title, a date and meaningful column headings.

Data Entry Screens Also called forms, act as the interface between the user and the database and allow data to be entered, edited and displayed. Are linked to the individual primary table and new records are therefore added to the existing data.

Data Privacy & Security Privacy is a major concern for those involved with databases and their use. Large organisations use databases to store confidential information about their clients. Data is not indestructible.

Data can be (by human error, equipment failure problems with the software or by a catastrophe eg fire or flood): lost corrupted and damaged or destroyed It can also be stolen or illegally copied.

For these reasons data security measures are essential. These measures include: 1. Backing up the data on a regular basis – making a copy of the entire database. - Data can be backed up daily, weekly, monthly or continuously. 2. Attempting to eliminate factors that cause accidental losses.

3. Preventing unauthorised access to data which can result in it being stolen, misused or corrupted eg By using passwords to restrict access. By allowing different access privileges for data for different users. This involves establishing who can enter data, modify existing data, delete unwanted data, and view data.