<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Verdana",sans-serif;
        color:black;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-AU" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<table class="MsoNormalTable" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none">
<tbody>
<tr>
<td width="1126" valign="top" style="width:844.8pt;border:solid #A3A3A3 1.0pt;padding:4.0pt 4.0pt 4.0pt 4.0pt">
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:18.0pt;margin-left:0cm">
<b><span style="font-size:10.5pt;font-family:"Calibri",sans-serif">Trace Tables</span></b><span style="font-size:10.5pt;font-family:"Calibri",sans-serif"> (adapted from the
<a href="http://www.bbc.co.uk/education/guides/z8n3d2p/revision/8">BBC</a>)<o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.5pt;font-family:"Calibri",sans-serif">When testing software, it is sometimes necessary to test a number of conditions and sub-conditions at the same time.<o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.5pt;font-family:"Calibri",sans-serif">A
<b>trace table</b> can be used to record the outcomes of the test. <o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.5pt;font-family:"Calibri",sans-serif">The trace table for a very simple example, such as x=y+2, would look like this:<o:p></o:p></span></p>
<table class="MsoNormalTable" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none">
<tbody>
<tr>
<td width="64" valign="top" style="width:48.0pt;border:solid #A3A3A3 1.0pt;padding:4.0pt 4.0pt 4.0pt 4.0pt">
<p style="margin:0cm;margin-bottom:.0001pt"><b><span style="font-size:10.5pt;font-family:"Calibri",sans-serif">y</span></b><span style="font-size:10.5pt;font-family:"Calibri",sans-serif"><o:p></o:p></span></p>
</td>
<td width="53" valign="top" style="width:39.9pt;border:solid #A3A3A3 1.0pt;border-left:none;padding:4.0pt 4.0pt 4.0pt 4.0pt">
<p style="margin:0cm;margin-bottom:.0001pt"><b><span style="font-size:10.5pt;font-family:"Calibri",sans-serif">x</span></b><span style="font-size:10.5pt;font-family:"Calibri",sans-serif"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td width="64" valign="top" style="width:48.0pt;border:solid #A3A3A3 1.0pt;border-top:none;padding:4.0pt 4.0pt 4.0pt 4.0pt">
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.5pt;font-family:"Calibri",sans-serif">13<o:p></o:p></span></p>
</td>
<td width="53" valign="top" style="width:39.9pt;border-top:none;border-left:none;border-bottom:solid #A3A3A3 1.0pt;border-right:solid #A3A3A3 1.0pt;padding:4.0pt 4.0pt 4.0pt 4.0pt">
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.5pt;font-family:"Calibri",sans-serif">15<o:p></o:p></span></p>
</td>
</tr>
<tr>
<td width="64" valign="top" style="width:48.0pt;border:solid #A3A3A3 1.0pt;border-top:none;padding:4.0pt 4.0pt 4.0pt 4.0pt">
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.5pt;font-family:"Calibri",sans-serif">25<o:p></o:p></span></p>
</td>
<td width="53" valign="top" style="width:39.9pt;border-top:none;border-left:none;border-bottom:solid #A3A3A3 1.0pt;border-right:solid #A3A3A3 1.0pt;padding:4.0pt 4.0pt 4.0pt 4.0pt">
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.5pt;font-family:"Calibri",sans-serif">27<o:p></o:p></span></p>
</td>
</tr>
<tr>
<td width="64" valign="top" style="width:48.0pt;border:solid #A3A3A3 1.0pt;border-top:none;padding:4.0pt 4.0pt 4.0pt 4.0pt">
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.5pt;font-family:"Calibri",sans-serif">1200<o:p></o:p></span></p>
</td>
<td width="53" valign="top" style="width:39.9pt;border-top:none;border-left:none;border-bottom:solid #A3A3A3 1.0pt;border-right:solid #A3A3A3 1.0pt;padding:4.0pt 4.0pt 4.0pt 4.0pt">
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.5pt;font-family:"Calibri",sans-serif">1202<o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p style="margin:0cm;margin-bottom:.0001pt"><b><span style="font-size:10.5pt;font-family:"Calibri",sans-serif">Test data
</span></b><span style="font-size:10.5pt;font-family:"Calibri",sans-serif"><o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.5pt;font-family:"Calibri",sans-serif">Specifically designed to find weaknesses in code. Test data should act as the ultimate stress test to show up every possible code fault.<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:18.0pt;margin-left:0cm">
<span style="font-size:10.5pt;font-family:"Calibri",sans-serif">Test data should <b>include every conceivable type of input</b>, and focus on data that will most rigorously test the points where errors are most likely to occur. Especially
<i>boundary conditions</i> or ‘tipping points’.<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:18.0pt;margin-left:0cm">
<span style="font-size:10.5pt;font-family:"Calibri",sans-serif">Test data should also be
<b>as brief as possible </b>(except when load testing)<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:18.0pt;margin-left:0cm">
<b><span style="font-size:10.5pt;font-family:"Calibri",sans-serif">Hint</span></b><span style="font-size:10.5pt;font-family:"Calibri",sans-serif">: most logical errors in real life programming, and especially in exam questions, occur on boundaries. Be on the
lookout for code with a statement like </span><span style="font-size:10.5pt;font-family:"Courier New"">IF x < y THEN…</span><span style="font-size:10.5pt;font-family:"Calibri",sans-serif"> because often the error is that < should have been <= . </span><span style="font-size:10.5pt"><o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:18.0pt;margin-left:0cm">
<span style="font-size:10.5pt;font-family:"Calibri",sans-serif">Comprehensive test data includes
<b>invalid inputs</b> to test validation code, <b>valid inputs</b> and inputs that are
<b>valid but unusual</b> or unexpected.<o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><i><span style="font-size:12.0pt;font-family:"Verdana",sans-serif;color:#1F4E79;mso-fareast-language:EN-AU">Kushum Rattan
<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:12.0pt;font-family:"Verdana",sans-serif;color:#1F4E79;mso-fareast-language:EN-AU">ICT Curriculum Area Leader
<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:12.0pt;font-family:"Verdana",sans-serif;color:#1F4E79;mso-fareast-language:EN-AU">VET Co-ordinator<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:12.0pt;font-family:"Verdana",sans-serif;color:#1F4E79;mso-fareast-language:EN-AU">Gisborne Secondary College<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:12.0pt;font-family:"Verdana",sans-serif;color:#1F4E79;mso-fareast-language:EN-AU">Phone: 03 54283691<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:12.0pt;font-family:"Verdana",sans-serif;color:#1F4E79;mso-fareast-language:EN-AU"><a href="mailto:rattan.kushum.l@edumail.vic.gov.au">rattan.kushum.l@edumail.vic.gov.au</a><o:p></o:p></span></i></p>
<p class="MsoNormal"><span style="color:black;mso-fareast-language:EN-AU"><img border="0" width="505" height="106" style="width:5.2604in;height:1.1041in" id="Picture_x0020_1" src="cid:image001.jpg@01D29934.E57A1CA0" alt="gsc banner 2"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>
<table><tr><td bgcolor=#ffffff><font color=#000000><pre>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.</pre></font></td></tr></table>