Chapter 5: Data Types (2013) Revision Candidates should be able to know: Identify different data types? Key terms: File, record, field and key field Database.

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
Creating Tables Unit 9 - Databases.
Copyright © 2008 Pearson Prentice Hall. All rights reserved.1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 2.1: Relational Databases.
DATABASE RC D DD CMA C M R B PK E I S H S RC H L I V FK.
ICDL Software Applications - Database Concepts. Unit 6 Data and Data Representation Database Concepts –File Structure –Relationships Database Design –Data.
DATA TYPES ICT DATATYPES. DATA TYPES ICT Numeric Data Numeric data simply means numbers. But, numbers come in a variety of different types... Integers.
Database A collection of related information stored on a computer and organized in a manner that allows access, retrieval, and use of that data.
Week 2 Normalization and Queries
Database Design Concepts INFO1408 Term 2 week 1 Data validation and Referential integrity.
Information Storage and Retrieval CS French Chapter 3.
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.
Databases. Objectives Define what a database is. Understand the difference between a flat and relational database Design and create a relational database.
Database terms Mr. Brunton.
Microsoft Access 2000 Creating Tables and Relationships.
Access Lesson 2 Creating a Database
Information and Data What’s the difference between two? Information systems = hardware and software working together… It will take DATA that has been put.
Think about the following expression If the number entered is greater than 15 but less than 25 or the number is 100 and the letter chosen is after p but.
 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 DESIGN USING MICROSOFT ACCESS. What is a Database?  DMS Database management system  Database Collection of data organized in a manner that.
DATABASE. Computer-based filing systems Information in computer-based filing systems are stored in DATA FILES. A FILE is a collection of RELATED RECORDS.
Logical or Boolean Data stored in Boolean form can only be one of two available values. Think of a light switch – it’s on or off. Examples include: YES.
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
Complete theory from last lesson… Put today’s date in the front of your book Read pages 46 and 47 of the textbook…
5 5 Data types Logical/Boolean Has only two alternatives: Yes or no, on or off true or false Text/Alphanumeric Refers to all letters and numbers and other.
G045 Lecture 09 ERD Diagrams (Entity Relationship Diagrams) Mr C Johnston ICT Teacher
Databases The Kingsway School. Database Systems Databases are programs which store information in a logical way. Databases have a structure which helps.
DAY 22: MICROSOFT ACCESS – REVIEW Akhila Kondai November 04, 2013.
Some Facts about Databases Key WordsData TypesCoding.
DATABASE What exactly is a database How do databases work? What's the difference between a spreadsheet database and a "real" database?
WHAT IS A DATABASE? A DATABASE IS A COLLECTION OF DATA RELATED TO A PARTICULAR TOPIC OR PURPOSE OR TO PUT IT SIMPLY A GENERAL PURPOSE CONTAINER FOR STORING.
Databases (2) Lesson Objective: Understand the purpose of DBMS. Understand data types, queries, forms and reports. Learning Outcome: Make a data table.
Relationships. “ Situation that exists between two relational database tables”  It stop the need for repeating data  Allows the database to be smaller.
Database revision.
Relational Databases. Relational database  data stored in tables  must put data into the correct tables  define relationship between tables  primary.
Quiz questions. 1 A data structure that is made up of fields and records? Table.
Introduction to a Database Definition: A database is a collection of information held together in an organised manner. For example: A library could be.
Introduction to Access Chapter 13 pages 1-4. What is a database??? Related information is stored in databases  All SC student information is stored in.
Databases 101 © Dolinski What you will learn How relational databases work What are the components that make up a database How to create each component.
Study Opportunities1 Database table quiz What is your name?
A table is a set of data elements (values) that is organized using a model of vertical columns (which are identified by their name) and horizontal rows.
Pasewark & Pasewark 1 Access Lesson 2 Creating a Database Microsoft Office 2007: Introductory.
Mr C Johnston ICT Teacher
Database design Using Access 2007
* Database is a group of related objects * Objects can be Tables, Forms, Queries or Reports * All data reside in Tables * A Row in a Table is a record.
Sample Table Standard Notation Entity name in uppercase
Microsoft Access Prepared by the Academic Faculty Members of IT.
ICT for IGCSE – Syllabus Cambridge IGCSE ® Information and Communication Technology0417.
Software. Because databases can get very big, it is important to decide exactly what is going to be stored in each field. Fields can be text, number,
1 CS 430 Database Theory Winter 2005 Lecture 7: Designing a Database Logical Level.
Edexcel OnCourse Databases Unit 9. Edexcel OnCourse Database Structure Presentation Unit 9Slide 2 What is a Database? Databases are everywhere! Student.
Chapter 9: Data types and data structures OCR Computing for A Level © Hodder Education 2009.
Data Types Mr Tottman Link. Data Types Programs need to use data for calculations and for output to various devices The best programs will always use.
The purpose of a CPU is to process data Custom written software is created for a user to meet exact purpose Off the shelf software is developed by a software.
N5 Databases Notes Information Systems Design & Development: Structures and links.
DATA TYPES.
DATABASE.
IGCSE 4 Cambridge Designing a database table Computer Science
Creating a database table
Databases Chapter 9 Asfia Rahman.
Data Types and Structures
Unit 16 – Database Systems
Data Types.
Database Theory.
Spreadsheets, Modelling & Databases
ICT Database Lesson 2 Designing a Database.
C# Revision Cards Data types
Databases This topic looks at the basic concept of a database, the key features and benefits of a Database Management System (DBMS) and the basic theory.
Data Types and Maths Programming Guides.
Presentation transcript:

Chapter 5: Data Types (2013) Revision Candidates should be able to know: Identify different data types? Key terms: File, record, field and key field Database Structures Identify the difference between analogue data and digital data Explain the need for conversion between analogue and digital data

Data Types Identify different data types? Before we enter data into a computer system, we usually need to tell the computer what type of data it is. This is because the computer stores and processes different types of data in different ways... Numeric Data Numeric data simply means numbers. But, just to complicate things for you, numbers come in a variety of different types... Integers An integer is a whole number - it has no decimal or fractional parts. Integers can be either positive or negative. Real numbers Any number that you could place on a number line is a real number. Real numbers include whole numbers (integers) and numbers with decimal/fractional parts. Real numbers can be positive or negative. Currency Currency refers to real numbers that are formatted in a specific way. Usually currency is shown with a currency symbol and (usually) two decimal places. Percentage Percentage refers to fractional real numbers that are formatted in a specific way - out of 100, with a percent symbol. So, the real value 0.5 would be shown as 50%, the value 0.01 would be shown as 1% and the number 1.25 would be shown as 125%

Data Types Identify different data types? Alphanumeric (Text) Data Alphanumeric (often simply called 'text') data refers to data made up of letters (alphabet) and numbers (numeric). Usually symbols etc.) and spaces are also allowed. Date and Time Data Date (and time) data is usually formatted in a specific way. The format depends upon the setup of the computer, the software in use and the user’s preferences. Boolean (Logical) Data Boolean data is sometimes called 'logical' data (or in some software, 'yes/no' data). Boolean data can only have two values: TRUE or FALSE Examples TRUE, FALSE, ON, OFF, Yes, No Data Name Name Height Date of Birth Phone No. Pay Rate Tax Rate Example Data "Bob Gripper" May £ % Data Type Text Real Date Alphanumeric Currency Percentage

Data Types Key terms: File, record, field and key field An organised set of data is usually referred to as a database. Below is examples of pupil data: ID No.: 356 Name: Jess D.o.B.: 3 Mar 1995 Phone: Class: 5B Tutor: Mr Noggin Room: 56 ID No.: 412 Name: Hamad D.o.B.: 12 Nov 1994 Phone: Class: 5B Tutor: Mr Noggin Room: 56 ID No.: 459 Name: Sita D.o.B.: 9 Jan 1994 Phone: Class: 6Y Tutor: Ms Take Room: 18 ID No.: 502 Name: Hamad D.o.B.: 3 Mar 1995 Phone: Class: 5B Tutor: Mr Noggin Room: 56 You'll see that each student has some data associated with them (name, d.o.b., etc.) We want to store this data is an organised way so that we can easily access it in the future. You can do this by creating a database file.

Data Types Key terms: File, record, field and key field Record: The set of data associated with a single object or person is known as a record. In the example of our students, the data associated with each student is a record. Each student has their own record just like Jess's but with different data. The data in each record is different, but each record has the same structure. Field: You'll see that each of our student's records contain the same items. These items are known as fields. Each field has a field name (e.g. 'Date of Birth') Each field will contain different data in each of the records The field is the box that you would write in The field name is the label next to the box The data is what you would write in the box

Data Types Key terms: File, record, field and key field Key Field / Primary Key It is very important that every record in a database can be individually identified. We need to be sure that when we access a record, we are accessing the correct one. Because all of these fields might contain the same data for more than one record, we can't use them to identify each record. So... we have given each student an ID number. We can guarantee that this number will be unique for every student. The ID number is the ideal field to use to uniquely identify each individual record. We call this field the Key Field, or Primary Key. Database as a table

Data Types Key terms: File, record, field and key field

Data Types Types of Database A 'flat-file' database is one that only contains a single table of data Relational Databases - A 'relational' database is one that contains two or more tables of data, connected by links called relationships. Notice that the table contains several items of data that are repeated over and over again: Class (5B) Tutor (Mr noggin) Room (56)

Data Types Types of Database Multiple Tables So, now the main Student table just contains data directly related to students, whilst the new Class table contains data directly related to classes.