GCSE COMPUTER SCIENCE Topic 3 - Data 3.5 Databases
This presentation covers the following content from the specification Students should: 3.5.1 understand the characteristics of structured and unstructured data 3.5.2 understand that data can be decomposed, organised and managed in a structured database (tables, records, fields, relationships, keys)
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.
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.
Activity 1 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
Stick the table it in the middle of the green piece of A5 card Activity 2a (v2) Getting Started PART 1 Stick the table it in the middle of the green piece of A5 card Game ID Title Platform Genre Release Date
THESE ARE MIXED UP AND ARE NOT IN THE CORRECT ORDER – DO NOT COPY THEM Activity 2a (v2) 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
Turn the A5 sheet into a revision poster by: Activity 2b (v2) PART 3 Instructions Turn the A5 sheet into a revision poster 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.
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
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
A database with a single table Database Terminology TERM Flat File Database DEFINITION A database with a single table
A database that consists of more than one table Database Terminology TERM Relational Database DEFINITION A database that consists of more than one table
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
Database Terminology TERM Compound Key DEFINITION A key that consists of two or more fields used to identify a record uniquely
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
A query is used to search a database Database Terminology TERM Query DEFINITION A query is used to search a database
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
Activity 5 Database Summary In your workbooks copy the database summary on page 138 of the textbook
Activity 6 Crossword Create a crossword based on Databases. Use the terminology from your books. It should have a minimum of 10 questions. When you have finished, paste your crossword on to a Powerpoint slide and name it 3.5 Databases Print out one copy (include your name) and stick it in your book. http://puzzlemaker.discoveryeducation.com/CrissCrossSetupForm.asp puzzle maker criss-cross
Activity 6 Keywords Database Field Record Unstructured Data Primary Key Foreign key Query Relational Database Compound Key Report Table Structured Data Flat file Database Form