<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body dir="auto">
<div>I'd suggest that "types in PIP" relates to creating some kind of test harness for his code, and thus it it part of "testing" but not that the program is running. But it's a badly worded question, because the program crashing would
<b>usually</b> mean the program itself actually starts running. </div>
<div><br>
</div>
<div>Geoff Matheson</div>
<div><br>
On 2 Sep 2013, at 2:39 pm, "Andrew Pate" <<a href="mailto:arp@mentonegrammar.net">arp@mentonegrammar.net</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div><style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif"}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
span.BalloonTextChar
        {font-family:"Tahoma","sans-serif"}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
        {}
-->
</style>
<div class="WordSection1">
<p class="MsoNormal">Hi all,</p>
<p class="MsoNormal">I have purchased the IARTV trial exams and am wondering about one of their multi-choice answers.Your help is, as always, appreciated.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">The question asks about a function written which is called “POP”, but “when testing his stack Alan accidentally types in PIP and the program crashes”.</p>
<p class="MsoNormal">The multi-choice answers has us choose from runtime error or syntax error.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">They suggest the answer is syntax error (and explain that a name, expression etc…that the compiler cannot understand causes a syntax error)</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Now, if the program IS RUNNING and THEN crashes, does that not imply that it compiled? Therefore, it is a runtime error (where validation of input was not handled) or am I thinking too language specifically?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="margin-left:1.85pt; border-collapse:collapse">
<tbody>
<tr style="height:14.25pt">
<td width="333" valign="top" style="width:249.9pt; padding:0cm 0cm 0cm 0cm; height:14.25pt">
<p class="MsoNormal"><b><span lang="EN-GB" style="color:#001C54">Andrew Pate</span></b><span lang="EN-GB" style="color:#001C54"></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#001C54">Technology Faculty Coordinator</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#001C54"> </span></p>
<p class="MsoNormal"><b><span lang="EN-GB" style="font-size:9.0pt; color:#001C54">Mentone Grammar</span></b></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.0pt; color:#001C54">63 Venice Street, Mentone
</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.0pt; color:#001C54">Victoria, Australia 3194 <br>
T +61 3 9584 4211 F +61 3 9581 3290 </span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.0pt; color:#001C54">M +61 3 0416 228 436</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.0pt; color:#001C54"><a href="mailto:arp@mentonegrammar.net"><span style="color:blue">arp@mentonegrammar.net</span></a></span></p>
<p class="MsoNormal"><span style=""><a href="http://www.mentonegrammar.net/"><span lang="EN-GB" style="font-size:9.0pt; color:#001C54">www.mentonegrammar.net</span></a></span><span lang="EN-GB" style="font-family:"Tahoma","sans-serif"; color:#1F497D"></span></p>
</td>
<td width="252" valign="top" style="width:189.3pt; padding:0cm 5.4pt 0cm 5.4pt; height:14.25pt">
<p class="MsoNormal"><span style=""><image001.jpg></span><span style=""></span></p>
<p class="MsoNormal" align="right" style="text-align:right"><b><i><span style="font-size:9.0pt; color:#001C54">Outstanding opportunities</span></i></b></p>
<p class="MsoNormal" align="right" style="text-align:right"><b><i><span style="font-size:9.0pt; color:#001C54">for girls and boys ELC-12</span></i></b><b><i><span style="font-size:9.0pt; color:#001C54"></span></i></b></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style=""> </span></p>
<p class="MsoNormal"> </p>
</div>
See more about <a href="www.mentonegrammar.net">Mentone Grammar</a>. This email and any attachments to it are confidential. You must not use, disclose or act on the email if you are not the intended recipient. If you have received this email in error, please
let us know by contacting the sender and deleting the original email. </div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span><a href="http://www.edulists.com.au">http://www.edulists.com.au</a> - FAQ, Subscribe, Unsubscribe</span><br>
<span>IT Software Development Mailing List kindly supported by</span><br>
<span><a href="http://www.vcaa.vic.edu.au">http://www.vcaa.vic.edu.au</a> - Victorian Curriculum and Assessment Authority and</span><br>
<span><a href="http://www.vcaa.vic.edu.au/vce/studies/infotech/softwaredevel3-4.html">http://www.vcaa.vic.edu.au/vce/studies/infotech/softwaredevel3-4.html</a>
</span><br>
<span><a href="http://www.vitta.org.au">http://www.vitta.org.au</a> - VITTA Victorian Information Technology Teachers Association Inc</span><br>
<span><a href="http://www.swinburne.edu.au/ict/schools">http://www.swinburne.edu.au/ict/schools</a> - Swinburne University</span></div>
</blockquote>
<p></p><p><b>Important - </b>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 Early Childhood Development.</p>
</body>
</html>