[Informatics] Query on Practice exam solution
Garth, Lucas A
garth.lucas.a at edumail.vic.gov.au
Fri Oct 28 11:35:10 AEDT 2016
Hi Joseph – if you provide the exam and the question number (and question text if possible) it will make it easier for us to review.
Repeated records is a 1NF concept. The main thinking behind 1NF is each field contains one piece of data and it’s accessible by a primary key.
Otherwise you could have: name, address, postcode, state, mobile phone 1, mobile phone 2, mobile phone 3.
If someone only has one mobile phone then this creates a problem with the 2nd and 3rd fields being blank.
If someone has three mobile phone numbers you could try to enter 3 mobile phone numbers into only one mobile phone field as an entry but this would also violate 1NF because it would be very hard to identify a specific mobile phone number using the primary key.
Therefore the only real response would be to create a linking table containing name and mobile phone.
This is one of the examples where splitting into two tables would be required in order to achieve 1NF.
I’d also suggest calculated fields should not even be in a database at 1NF as well, though some people are keen to see them stay. In general they don’t satisfy “the key” requirement (1NF) let alone “the whole key” (2NF) and “nothing but the key so help me Codd” (3NF).
Lucas
Lalor SC
From: informatics-bounces at edulists.com.au [mailto:informatics-bounces at edulists.com.au] On Behalf Of Joseph Papaleo
Sent: Friday, 28 October 2016 10:48 AM
To: Year 12 VCE Informatics Teachers' Mailing List
Subject: [Informatics] Query on Practice exam solution
Hi all,
I am seeking some clarity please on normalisation.
A practice exam multiple choice question asks students to identify which table has achieved FIRST normal form. The solutions provided refer to answer D being incorrect as there are repeated records. Isn’t this 2nd normal form?
Thanks
Joseph
Joseph Papaleo
Member of Staff
[cid:image001.jpg at 01D2310E.E8143FB0]
[Ave Maria College]<http://www.avemaria.vic.edu.au>
DISCLAIMER: This e-mail and any attachments may be confidential. You must not disclose or use the information in this e-mail if you are not the intended recipient. If you have received this e-mail in error, please notify us immediately and delete the e-mail and all copies. Ave Maria College does not guarantee that this e-mail is virus or error free. The attached files are provided and may only be used on the basis that the user assumes all responsibility for any loss, damage or consequence resulting directly or indirectly from the use of the attached files, whether caused by the negligence of the sender or not. The content and opinions in this e-mail are not necessarily those of Ave Maria College.
[cid:image003.jpg at 01D2310E.E8143FB0] Please consider the environment, before printing this email.
IMPORTANT - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education and Training.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.edulists.com.au/pipermail/informatics/attachments/20161028/a906c661/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 8968 bytes
Desc: image001.jpg
Url : http://www.edulists.com.au/pipermail/informatics/attachments/20161028/a906c661/image001-0001.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 616824 bytes
Desc: image002.jpg
Url : http://www.edulists.com.au/pipermail/informatics/attachments/20161028/a906c661/image002-0001.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 825 bytes
Desc: image003.jpg
Url : http://www.edulists.com.au/pipermail/informatics/attachments/20161028/a906c661/image003-0001.jpg
More information about the informatics
mailing list