Hi Maggie. In two other places in the pseudocode, IFs were closed by END IF. This IF was not. <br><br>I agree that END IF is not always required (VITTA 2012 SD Exam #2, C7 is a classic case) <br><br>but if END IFs are used twice in a piece of pseudocode, it should also be used in the third case!<br>
<br>Cheers<br>Mark<br><br><br><br><div class="gmail_quote">On 16 August 2012 14:28, Margaret King Iaquinto <span dir="ltr"><<a href="mailto:iaquinto@ozemail.com.au" target="_blank">iaquinto@ozemail.com.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:12px">Hi Mark<div><br></div><div>
In pseudocode, END IF does not need to be written. It commonly is -- but it is not required. I recall on past exams in SD that the assessors did not flag this as an error.</div><div><br></div><div>I think this is because 'VB-centric' languages (wish I had a better way of describing this phenomenon since so many teachers use VB) require the END IF in the code. But some languages, such as PHP, do not require it.</div>
<div><br></div><div>But perhaps someone else might add to the discussion?</div><div><br></div><div> Maggie<br>VK3CFI<br><blockquote><br>----- Original Message -----<br><div style="width:100%;background:rgb(228,228,228)">
<div style="font-weight:bold">
From:</div> "Year 12 Software Development Teachers' Mailing List" <<a href="mailto:sofdev@edulists.com.au" target="_blank">sofdev@edulists.com.au</a>></div><br><div style="font-weight:bold">To:</div>"Year 12 Software Development Teachers' Mailing List" <<a href="mailto:sofdev@edulists.com.au" target="_blank">sofdev@edulists.com.au</a>><br>
<div style="font-weight:bold">Cc:</div><br><div style="font-weight:bold">Sent:</div>Thu, 16 Aug 2012 13:10:51 +1000<br><div style="font-weight:bold">Subject:</div>[Year 12 SofDev] Pseudocode tweak - VITTA 2012 SD Exam #1, Question C8b<br>
<br><br><p>Hi all. I believe in the VITTA 2012 SD Exam #1 there's a missing END IF to close the last IF in C8b. <br><br>It's not crucial to any of the subsequent questions, but you might want to add it before giving it to the kiddies.<span class="HOEnZb"><font color="#888888"><br clear="all">
<br>-- <br>Mark Kelly<br>Manager of ICT, Reporting, IT Learning Area<br>McKinnon Secondary College<br>McKinnon Rd McKinnon 3204, Victoria, Australia<br>Direct line / Voicemail: <a href="tel:%2B613%208520%209085" value="+61385209085" target="_blank">+613 8520 9085</a>, Fax <a href="tel:%2B613%209578%209253" value="+61395789253" target="_blank">+613 9578 9253</a><br>
<a href="mailto:kel@mckinnonsc.vic.edu.au" target="_blank">kel@mckinnonsc.vic.edu.au</a> << use this, not Edumail please!<br>
VCE IT Lecture Notes: <a href="http://vceit.com" target="_blank">http://vceit.com</a><br>Moderator: IT Applications Edulist<br><br>--<br>The illiterate of the 21st century will not be those who cannot read and write, but those who cannot learn, unlearn and relearn - Alvin Toffler.<br>
<br><br></font></span></p>
</blockquote></div></div>
<br>_______________________________________________<br>
<a href="http://www.edulists.com.au" target="_blank">http://www.edulists.com.au</a> - FAQ, Subscribe, Unsubscribe<br>
IT Software Development Mailing List kindly supported by<br>
<a href="http://www.vcaa.vic.edu.au" target="_blank">http://www.vcaa.vic.edu.au</a> - Victorian Curriculum and Assessment Authority and<br>
<a href="http://www.vcaa.vic.edu.au/vce/studies/infotech/softwaredevel3-4.html" target="_blank">http://www.vcaa.vic.edu.au/vce/studies/infotech/softwaredevel3-4.html</a><br>
<a href="http://www.vitta.org.au" target="_blank">http://www.vitta.org.au</a> - VITTA Victorian Information Technology Teachers Association Inc<br>
<a href="http://www.swinburne.edu.au/ict/schools" target="_blank">http://www.swinburne.edu.au/ict/schools</a> - Swinburne University<br></blockquote></div><br><br clear="all"><br>-- <br>Mark Kelly<br>Manager of ICT, Reporting, IT Learning Area<br>
McKinnon Secondary College<br>McKinnon Rd McKinnon 3204, Victoria, Australia<br>Direct line / Voicemail: +613 8520 9085, Fax +613 9578 9253<br><a href="mailto:kel@mckinnonsc.vic.edu.au" target="_blank">kel@mckinnonsc.vic.edu.au</a> << use this, not Edumail please!<br>
VCE IT Lecture Notes: <a href="http://vceit.com" target="_blank">http://vceit.com</a><br>Moderator: IT Applications Edulist<br><br>--<br>The illiterate of the 21st century will not be those who cannot read and write, but those who cannot learn, unlearn and relearn - Alvin Toffler.<br>
<br><br>