11
Super Hero Databases Lesson 2

Super Hero Databases Lesson 2. Lesson 2 Aims… To know different data types. To understand why it is important to put the correct data in the correct data

Embed Size (px)

Citation preview

Page 1: Super Hero Databases Lesson 2. Lesson 2 Aims… To know different data types. To understand why it is important to put the correct data in the correct data

Super Hero Databases

Lesson 2

Page 2: Super Hero Databases Lesson 2. Lesson 2 Aims… To know different data types. To understand why it is important to put the correct data in the correct data

Lesson 2 Aims…

To know different data types.To understand why it is important to put the correct data in the correct data type.To be able to a flat file database table using correct datatypes.

Page 3: Super Hero Databases Lesson 2. Lesson 2 Aims… To know different data types. To understand why it is important to put the correct data in the correct data

Starter 1

• Explain to the person next to ‘what you think ‘Top Trumps’ is.

Page 4: Super Hero Databases Lesson 2. Lesson 2 Aims… To know different data types. To understand why it is important to put the correct data in the correct data

Starter 2

• With the person next to you...–What skills do you think a superhero

would have a on ‘Top Trump’ card?• Make a list and record it on the slide in your

Superhero Evidence PPT.

Page 5: Super Hero Databases Lesson 2. Lesson 2 Aims… To know different data types. To understand why it is important to put the correct data in the correct data

Activity 1 – MS Access

• Using MS Access, create a new database - ‘Top Trump Superheros’.

Page 6: Super Hero Databases Lesson 2. Lesson 2 Aims… To know different data types. To understand why it is important to put the correct data in the correct data

Activity 2 – Super Hero Categories

• Decide as a class which categories (max 6) you will use for your ‘Superheros’ – e.g.:– Strength– Team Spirit– Size– Power– Skill– Costume

Page 7: Super Hero Databases Lesson 2. Lesson 2 Aims… To know different data types. To understand why it is important to put the correct data in the correct data

Activity 3 – Creating a Table

• Create a table – ‘tbl_Superhero’ in ‘design view’.

• Add the different categories & data types from Activity 2.

Page 8: Super Hero Databases Lesson 2. Lesson 2 Aims… To know different data types. To understand why it is important to put the correct data in the correct data

Activity 4 – Adding Superheros

• Add the details of your Superheros to your table.

• Remember to keep the scores between 0 and 10

• Save your table.

Page 9: Super Hero Databases Lesson 2. Lesson 2 Aims… To know different data types. To understand why it is important to put the correct data in the correct data

Extension – Validations

• Find out what a database validation is.

• How you could use this to prevent people from entering a too high or too low number for each of their superhero skills?

• Add a validation to your strength field so that the user cannot enter a number lower than 1 or higher than 25.

Page 10: Super Hero Databases Lesson 2. Lesson 2 Aims… To know different data types. To understand why it is important to put the correct data in the correct data

Plenary 1

• Add the following database keywords to your ‘Glossary’ slide in your Superhero Evidence PPT.– Record– Field– Table– Database

• Write a explanation for each keyword in your own words.

Page 11: Super Hero Databases Lesson 2. Lesson 2 Aims… To know different data types. To understand why it is important to put the correct data in the correct data

Plenary 2

• With the person next to you, discuss...– 3 things you did learnt today in the

lesson– 2 things you think you did well– 1 thing you would like to do or be able

to do better.