<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>
<div>Section C, Question 6 – I think you’ve missed the “major error”. </div>
<div><br>
</div>
<div>The issue is that for any value from 0 through to 18, the system will also print “Cattle over 24 months” - because the “else” only applies to the if statement looking for values between 18-24. I’m pretty sure the errors you’ve identified wouldn’t be the
error they’re looking for. It also invalidates your testing table, as the “actual result” should include both messages for those inputs. </div>
<div><br>
</div>
<div>Cheers</div>
<div>Geoff</div>
<div><br>
</div>
<div><br>
</div>
<div>
<p class="MsoNormal" style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; font-family: Calibri, sans-serif;">
<span class="Apple-style-span" style="color: rgb(31, 73, 125); font-size: 16px; "><b>Geoff Matheson</b></span></p>
<p class="MsoNormal" style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; font-family: Calibri, sans-serif;">
<span style="font-size: 10pt; "><font color="#1f497d">Year 12 Program and Learning Outcomes Co-ordinator | College Reports Co-ordinator</font></span></p>
<p class="MsoNormal" style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; font-family: Calibri, sans-serif;">
<span style="font-size: 10pt; "><b><img width="540" height="128" id="_x0000_i1028" src="cid:CDFD62C0-724A-4DD6-A7BB-86D8A82AFEFE" alt="cid:3392357119_3062448" type="image/png"></b></span></p>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span><Chattrath>, Divinderjit S <<a href="mailto:chattrath.divinderjit.s@edumail.vic.gov.au">chattrath.divinderjit.s@edumail.vic.gov.au</a>><br>
<span style="font-weight:bold">Reply-To: </span>Year 12 IT Applications Teachers' Mailing List <<a href="mailto:itapps@edulists.com.au">itapps@edulists.com.au</a>><br>
<span style="font-weight:bold">Date: </span>Sunday, 16 November 2014 6:57 pm<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:itapps@edulists.com.au">itapps@edulists.com.au</a>" <<a href="mailto:itapps@edulists.com.au">itapps@edulists.com.au</a>><br>
<span style="font-weight:bold">Subject: </span>[Year 12 IT Apps] sofdev 2014 exam - all done<br>
</div>
<div><br>
</div>
<div xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
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;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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]-->
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Respected teachers,<o:p></o:p></p>
<p class="MsoNormal">G’Day.<o:p></o:p></p>
<p class="MsoNormal">Sorry for the cross post<o:p></o:p></p>
<p class="MsoNormal">Please find the solution to the whole exam at <a href="http://www.chattrath.com/sd2014exam.html">
http://www.chattrath.com/sd2014exam.html</a> <o:p></o:p></p>
<p class="MsoNormal">Your expert views will be greatly appreciated.<o:p></o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Bobby,<o:p></o:p></p>
<p class="MsoNormal">IT and Systems Engineering teacher,<o:p></o:p></p>
<p class="MsoNormal">Nossal High school.<o:p></o:p></p>
</div>
<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>
</div>
</div>
</span>
<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>