<div dir="ltr">Hi Andrew.  The issue is that the user issues the command (&quot;PIP&quot;) to the program which cannot interpret it, so it crashes.<div>It&#39;s the same as giving any compiler a command it cannot understand - a syntax error.</div>

<div><br></div><div>The error was not in the code of the program -  so it ran properly - until it was given a command by the user which it could not decipher, hence the syntax error in the input.</div><div><br></div><div>

Cheers </div><div>Mark</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 2 September 2013 14:36, Andrew Pate <span dir="ltr">&lt;<a href="mailto:arp@mentonegrammar.net" target="_blank">arp@mentonegrammar.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div lang="EN-AU" link="blue" vlink="purple">
<div>
<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 border="0" cellspacing="0" cellpadding="0" style="margin-left:1.85pt;border-collapse:collapse">
<tbody>
<tr style="min-height:14.25pt">
<td width="333" valign="top" style="width:249.9pt;padding:0cm 0cm 0cm 0cm;min-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 <a href="tel:%2B61%203%209584%204211" value="+61395844211" target="_blank">+61 3 9584 4211</a>   F <a href="tel:%2B61%203%209581%203290" value="+61395813290" target="_blank">+61 3 9581 3290</a>  </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" target="_blank"><span style="color:blue">arp@mentonegrammar.net</span></a></span></p>
<p class="MsoNormal"><span><a href="http://www.mentonegrammar.net/" target="_blank"><span lang="EN-GB" style="font-size:9.0pt;color:#001c54">www.mentonegrammar.net</span></a></span><span lang="EN-GB" style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:#1f497d"></span></p>


</td>
<td width="252" valign="top" style="width:189.3pt;padding:0cm 5.4pt 0cm 5.4pt;min-height:14.25pt">
<p class="MsoNormal"><span><img border="0" width="236" height="89" alt="Description: cid:image005.jpg@01CBEE3A.50E0BA50"></span><span></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> </span></p>
<p class="MsoNormal"> </p></div></div></blockquote></div><br><div dir="ltr">--<div>Mark Kelly</div><div>mark AT vceit DOT com</div><div><a href="http://vceit.com" target="_blank">http://vceit.com</a></div><div><br></div>

<div><span style="color:rgb(0,0,0);font-family:verdana,arial,helvetica,sans-serif;background-color:rgb(253,253,255)"><font size="1">Day 19, I have successfully conditioned my master to smile and write in his book every time I drool.- Pavlov&#39;s Dog</font></span><br>

</div><div><br></div></div>
</div></div>