Download presentation
Presentation is loading. Please wait.
Published byLiliane Sylvain Modified over 5 years ago
1
GCSE COMPUTER SCIENCE Topic 3 - Data 3.11 Databases
2
Structured & Unstructured Data
You need to be able to name some examples of structured and unstructured data Unstructured Data Photos Presentations Videos Documents Structured Data Phone Book Address Book Customer Details Train Timetable Databases are used to store structured data DEFINITION A database is an organised and persistent store of data
3
Key Terms Field One piece of information. Record
All of the data or information about one item. Primary Key A unique identity for each record. Table Stores all of the information about one particular category. Student_ID First_Name Last_Name Address DOB Gender 1 Peter James 310 Brook Lane 21/05/1985 Male 2 Tony Jackson 7 Somerset Avenue 15/12/1992 3 Sarah Jones 35 East End Lane 6/08/1980 Female ACTIVITY Write the four key definitions in your exercise book.
4
Activity Can you find an example in this database showing a primary key, field, record and table? Primary Key ID Name Breed Gender Date_Of_Birth Enclosure Capacity Headkeeper C009 Toni Tiger Male 30/6/1982 Big Cats 12 J Milner C015 Andrew Lion Female 18/6/2009 A007 Chimpy Chimpanzee 19/7/2011 Ape House 50 S Larkin Record Table Field
5
Stick the table it in the middle of a page in your workbook
Activity Getting Started PART 1 Stick the table it in the middle of a page in your workbook Game ID Title Platform Genre Release Date
6
THESE ARE MIXED UP AND ARE NOT IN THE CORRECT ORDER – DO NOT COPY THEM
Activity Instructions PART 2 Write in the elements below in the correct place and group them to form records for each video game. Pacman Halo Super Mario Bros. Wii Sports Minecraft Arcade Survival First Person Shooter Platform Sports NES Xbox Wii PC 1985 1980 2001 2006 2009 05 03 02 04 01 THESE ARE MIXED UP AND ARE NOT IN THE CORRECT ORDER – DO NOT COPY THEM
7
Turn the page into a revision sheet by:
Activity PART 3 Instructions Turn the page into a revision sheet by: Adding Databases as the title Labelling the primary key and write a definition of the term. Labelling a field and write a definition of the term. Labelling a record and write a definition of the term. Labelling the table and write a definition of the term.
8
Correct Groups Game ID Title Platform Genre Release Date 01 Pacman
Arcade 1980 02 Halo Xbox First Person Shooter 2001 03 Minecraft PC Survival 2009 04 Wii Sports Wii Sports 2006 05 Super Mario Bros. NES 1985
9
Each term and definition needs to be written neatly into your workbook
Databases Terminology Each term and definition needs to be written neatly into your workbook
10
A database with a single table
Database Terminology TERM Flat File Database DEFINITION A database with a single table 1/7
11
A database that consists of more than one table
Database Terminology TERM Relational Database DEFINITION A database that consists of more than one table 2/7
12
A field in one table that uniquely identifies records in another table
Database Terminology TERM Foreign Key DEFINITION A field in one table that uniquely identifies records in another table 3/7
13
Database Terminology TERM Compound Key DEFINITION
A key that consists of two or more fields used to identify a record uniquely 4/7
14
A user interface used to input data into a database
Database Terminology TERM Form DEFINITION A user interface used to input data into a database 5/7
15
A query is used to search a database
Database Terminology TERM Query DEFINITION A query is used to search a database 6/7
16
Used to format and print out information from a database
Database Terminology TERM Report DEFINITION Used to format and print out information from a database 7/7
17
Activity How could this table be split into two linked tables called Animal and Enclosure? Write down the field names that should go in each table. ID Name Breed Gender Date_Of_Birth Enclosure Capacity Headkeeper C009 Terry Lion Male 30/6/1982 Big Cats 12 J Milner A019 Sam Gibbon Female 10/6/2002 Ape House 50 S Larkin C015 Toni Tiger 18/6/2009 B033 Bob Red deer 6/7/2007 Deer Park 200 A Hunt A007 Charlie Chimpanzee 19/7/2011 ANIMAL Table ID, Name, Breed, Gender, Date_of_Birth, Enclosure. ENCLOSURE Table Enclosure, Capacity, Headkeeper.
18
Activity Re-organise the data from the Zoo into two linked tables called Animal and Enclosure. Animal Enclosure
19
Activity Answer ID Name Breed Gender Date_of_Birth Enclosure C009
Terry Lion Male 30/6/1982 Big Cats A019 Sam Gibbon Female 10/6/2002 Ape House C015 Toni Tiger 18/6/2009 B033 Bob Red Deer 6/7/2007 Deer Park A007 Charlie Chimpanzee 19/7/2011 Animal Enclosure Capacity Headkeeper Big Cats 12 J Milner Deer Park 50 S Larkin Ape House 200 A Hunt Enclosure
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.