Upcoming SlideShare
×

# Lesson 5

344 views

Published on

• Full Name
Comment goes here.

Are you sure you want to Yes No
• Be the first to comment

• Be the first to like this

### Lesson 5

1. 1. Data Handling Lesson Five
2. 2. Learning Objective <ul><li>Know: the main datatypes used in a database </li></ul><ul><li>Understand: . Which is the most appropriate datatype for different fields </li></ul><ul><li>Be able to: enter data into a database via a table and a data entry form. </li></ul>
3. 3. Starter <ul><li>Using the data capture forms created last lesson. </li></ul><ul><ul><li>Complete with details about 4 team members (super hero team) and/or henchmen (super villain team) </li></ul></ul>
4. 4. Datatypes exercise <ul><li>Students to log on and access the ‘datatypes’ file </li></ul><ul><ul><li>POOL Students ICT ks3 7 DataHandling L5 </li></ul></ul><ul><li>Hand out copies of ‘datatypes_task.doc’ </li></ul><ul><li>Datatypes </li></ul><ul><ul><li>The characteristic of a field that determines what type of data it can hold. E.g. Boolean, Integer, Long, Currency, Single, Double, Date, String. </li></ul></ul><ul><li>Find out about the different datatypes and complete the task sheet. </li></ul>
5. 5. Which datatype? <ul><li>Identify which datatypes are the most appropriate for each example. </li></ul><ul><ul><li>9, Oak Street, Worcester </li></ul></ul><ul><ul><li>14th May 2007 </li></ul></ul><ul><ul><li>£9.75 </li></ul></ul><ul><ul><li>-2256 </li></ul></ul><ul><ul><li>lion </li></ul></ul><ul><ul><li>A photo of you as a baby </li></ul></ul><ul><ul><li>324.654 </li></ul></ul><ul><ul><li>\$5.76 </li></ul></ul>
6. 6. Which datatype? <ul><li>Your database will have the following fields: </li></ul><ul><ul><li>I.D. </li></ul></ul><ul><ul><li>Name </li></ul></ul><ul><ul><li>Role </li></ul></ul><ul><ul><li>Ability 1 </li></ul></ul><ul><ul><li>Ability 2 </li></ul></ul><ul><ul><li>Ability 3 </li></ul></ul><ul><ul><li>Origin of powers </li></ul></ul>Which datatypes should they be?
7. 7. Save Database <ul><li>Copy the database ‘filmcharacters.mdb’ into your area. </li></ul><ul><ul><li>POOL Students ICT KS3 7 DataHandling L5 </li></ul></ul><ul><li>Open the ‘characters’ table. </li></ul><ul><ul><li>Switch between the design and datasheet view by clicking the and the buttons. </li></ul></ul>
8. 8. Task <ul><li>Enter the details from your four data collection forms into the ‘characters’ table. </li></ul>
9. 9. <ul><li>How easy did you find it to enter data into the table. </li></ul><ul><li>There is another way to enter data. </li></ul><ul><li>Open the ‘character’ form </li></ul>1 2
10. 10. Entering a record via a form <ul><li>Click on the ‘Add New Record’ button </li></ul><ul><li>The data entered into the form goes straight into the table. </li></ul><ul><li>Which way do you prefer to enter data into the database? </li></ul>
11. 11. <ul><li>Swap your data collection forms with another student. </li></ul><ul><li>Open the ‘character’ form and enter the four new records using the data entry form. </li></ul>
12. 12. Extension <ul><li>Find out which datatype would be used for telephone number and explain why. </li></ul>
13. 13. Plenary <ul><li>Show ‘Datatypes Plenary’ on the whiteboard. </li></ul><ul><li>Ask students to identify the correct datatypes. </li></ul>