[Year 12 IT Apps] Data type for postcode

Stuart Walkerden (STUW) stuw at huntingtower.vic.edu.au
Tue May 28 13:50:39 EST 2013


I reckon if it looks like a number, treat it as a number and use a number field type. Whether you perform calculations on it or not is irrelevant. I have always told my students to  use postcode as a number and phone as text to allow for leading 0. I wasn't aware of NT postcodes. I may have to change my line.

Stuart Walkerden
Huntingtower

From: itapps-bounces at edulists.com.au [mailto:itapps-bounces at edulists.com.au] On Behalf Of Athena Spyratos
Sent: Tuesday, 28 May 2013 7:47 AM
To: Year 12 IT Applications Teachers' Mailing List
Subject: [Year 12 IT Apps] Data type for postcode

Fellow IT teachers.
Do we declare the data type for Postcode as number or text? In database, if we apply a validation rule for a Victorian postcode as being between 3000 and 3999, then we declare it as a number. However going over one of the past exam multiple choice questions, the answer they wanted for the data type for Postcode was text. Which answer are the examiners looking for?
Athena
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.edulists.com.au/pipermail/itapps/attachments/20130528/f882e045/attachment.html 


More information about the itapps mailing list