[Year 12 IT Apps] Normal forms

Ben Hines b.hines at ccg.vic.edu.au
Mon Oct 17 13:57:30 EST 2011


I think the main problem we all find teaching the different normal forms, is that we teach students to create Databases well, so that they are already in at least 1NF.

So then teaching them that someone made a database (that is essentially an unusable mess) not in NF is too strange an idea to them.

Plus the databases we make in IT Apps are on the simpler side of Relational Databases. Understanding Normal Form took a fair while at Uni (and only by lots of practice designing databases), so I can understand why students find it difficult.

All the best with exam revision all!


[cid:image001.png at 01CC8CD4.B5FF61F0]
Mr Ben Hines

Maths/ICT Teacher
Senior School Campus - Christian College Geelong
*(03) 52411577 (ext. 212)



From: itapps-bounces at edulists.com.au [mailto:itapps-bounces at edulists.com.au] On Behalf Of Mark KELLY
Sent: Monday, 17 October 2011 1:04 PM
To: Year 12 IT Applications Teachers' Mailing List
Subject: [Year 12 IT Apps] Normal forms

Groan.  I just spent another 30 minutes trying to explain the differences between 2NF and 3NF to my dears.
As usual, by the time I finished, I think they knew less than when I started.

1NF is pretty clear cut...
  - no duplicate rows (i.e. identical records)
  - no multiple columns that contain the same *type* of data (e.g. child1, child2, child3)
  - only one piece of data per field (e.g. don't store 2 phone numbers for a person in the 'phone' field; put street address/suburb/postcode in separate fields; in Filemaker, don't use repeating fields)

But 2NF is really only a problem if you use *multiple* fields as a key (e.g. using firstname + lastname + phone as a unique key) instead of using a unique and arbitrary key field, like an ID number.
I realise now that my kids have trouble absorbing 2NF because at no time in their database education have I ever *mentioned* the possibility of using multiple fields as the key. So explaining 2NF to them was a bit like warning them not to walk using their ears - the concept had never even dawned on them before. To them, having a non-key field that did not give information about *all* of the key fields was a strange and scary possibility.

3NF is, I think, relatively straight forward. Each non-key field must give information about the key and not to another non-key field.  Violation of 3NF is usually pretty obvious because it looks "strange".

After 2 slideshows, I'm still trying to work out a way to make it sound really clear...  next time, maybe. If anyone has hit on a sure-fire summary of differentiating normal forms, I'd love to hear of it.

Regards

--
Mark Kelly
Manager of ICT, Reporting, IT Learning Area
McKinnon Secondary College
McKinnon Rd McKinnon 3204, Victoria, Australia
Direct line / Voicemail: +613 8520 9085, Fax +613 9578 9253
kel at mckinnonsc.vic.edu.au<mailto:kel at mckinnonsc.vic.edu.au>
VCE IT Lecture Notes: http://vceit.com
Moderator: IT Applications Edulist<http://www.edulists.com.au/>

Want a good time? Call 0112358. Ask for Mr Fibonacci.
________________________________
Message protected by MailGuard: e-mail anti-virus, anti-spam and content filtering.
http://www.mailguard.com.au

Report this message as spam<https://login.mailguard.com.au/report/1DkW4dBiPy/3LIeKBf1ACr0kIciIh0ejI/0.002>

-- 
This e-mail is intended for the use of the named individual or entity and may contain confidential and privileged information. Any dissemination, distribution or copying by anyone other than the intended recipient of this e-mail is strictly prohibited. If this e-mail has been received in error, then please notify Christian College or the author of this email immediately and destroy the original message. We have made every attempt to ensure this e-mail message is free from computer viruses however the attached files are provided on the basis that the user assumes all responsibility for use of the material transmitted. Views, opinions, etc. expressed reflect those of the author and not Christian College nor its associated companies and campuses which includes Eden Quality Services Pty Ltd.

Message  protected by MailGuard: e-mail anti-virus, anti-spam and content filtering.
http://www.mailguard.com.au


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.edulists.com.au/pipermail/itapps/attachments/20111017/52615ea4/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 2035 bytes
Desc: image001.png
Url : http://www.edulists.com.au/pipermail/itapps/attachments/20111017/52615ea4/image001-0001.png 


More information about the itapps mailing list