The C4c question expects students to find the logical error relating to the odd/even digit logic mixup, but there's another big logical problem with the pseudocode that several of my kids detected.<br><br>The "Total = Total + 2 * digit" line is adding the digit times 2 (e.g. 7*2=14) instead of adding the individual <b>digits</b> of the calculation (1,4) so the total is way off ! <br>
<br>My better kids found that error and didn't deign to mention the bleeding obvious one that they were intended to find. I gave them bonus marks :-)<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><br>
VCE IT Lecture Notes: <a href="http://vceit.com" target="_blank">http://vceit.com</a><br>Moderator: <a href="http://www.edulists.com.au/" target="_blank">IT Applications Edulist</a><br><br><font>Want a good time? Call 0112358. Ask for Mr </font>Fibonacci.<br>