<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>No probs, I will put them together today…I have left the first one for my group today….they have to migrate the code from old visual basics to vb.net 2010, I completed it last night, it was rather fun. I also gave them a topic test last week, I wrote an
SRS and got them to code it…. I will send that through as well…There is also a good pseudocode booklet, I think I might of got it off edulist, have you got that one…? I got the students last night to code task 5 from pseudocode….</div>
<div><br>
</div>
<div>Stephen</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>Victoria Farrell <<a href="mailto:FarrellV@humegrammar.vic.edu.au">FarrellV@humegrammar.vic.edu.au</a>><br>
<span style="font-weight:bold">Reply-To: </span>Year 12 Software Development Teachers' Mailing List <<a href="mailto:sofdev@edulists.com.au">sofdev@edulists.com.au</a>><br>
<span style="font-weight:bold">Date: </span>Wed, 30 Apr 2014 23:08:03 +0000<br>
<span style="font-weight:bold">To: </span>Year 12 Software Development Teachers' Mailing List <<a href="mailto:sofdev@edulists.com.au">sofdev@edulists.com.au</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Year 12 SofDev] Programming Help<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 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:NimbusRomNo9L-Regu;}
@font-face
        {font-family:CMMI10;}
@font-face
        {font-family:CMR10;}
@font-face
        {font-family:CMSY10;}
@font-face
        {font-family:NimbusMonL-Regu;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {mso-style-name:msochpdefault;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:10.0pt;
        font-family:"Times New Roman","serif";}
span.balloontextchar0
        {mso-style-name:balloontextchar;
        font-family:"Tahoma","sans-serif";}
span.balloontextchar00
        {mso-style-name:balloontextchar0;
        font-family:"Tahoma","sans-serif";}
span.emailstyle20
        {mso-style-name:emailstyle20;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.emailstyle21
        {mso-style-name:emailstyle21;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.emailstyle22
        {mso-style-name:emailstyle22;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.emailstyle23
        {mso-style-name:emailstyle23;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.emailstyle24
        {mso-style-name:emailstyle24;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.emailstyle28
        {mso-style-name:emailstyle28;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.emailstyle29
        {mso-style-name:emailstyle29;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle31
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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-AU" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">I’ll take anything I can get at this stage.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">THANK YOU!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size: 10pt; font-family: Tahoma, sans-serif; ">From:</span></b><span lang="EN-US" style="font-size: 10pt; font-family: Tahoma, sans-serif; ">
<a href="mailto:sofdev-bounces@edulists.com.au">sofdev-bounces@edulists.com.au</a> [<a href="mailto:sofdev-bounces@edulists.com.au">mailto:sofdev-bounces@edulists.com.au</a>]
<b>On Behalf Of </b>Stephen Rosicka<br>
<b>Sent:</b> Wednesday, 30 April 2014 4:42 PM<br>
<b>To:</b> Year 12 Software Development Teachers' Mailing List<br>
<b>Subject:</b> Re: [Year 12 SofDev] Programming Help<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi all,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I just got off the phone with the copyright<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">agency! I have two visual basics books from<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">2002 designed for software development.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">They were originally an Arthur Anderson book<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Published by emerald city books in Malvern!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">They have a lot of good algorithms in there<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">To do with sorting and searching. I thought<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">it would be a good exercise for my SD kids,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">to rewrite the algorithms from the old VB<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">std to <a href="http://vb.net">vb.net</a> 2010! I am quite happy to put the<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Algorithms in a doc and email to the list,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">if anybody thinks them worthwhile! I have<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">been told by copyright in Sydney that they<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">have nothing on record and that if I have<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">made a genuine attempt to contact all<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">parties without success I am in the clear.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Stephen <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><br>
Sent from my iPhone<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
On 30 Apr 2014, at 12:59 pm, "Kevork KROZIAN" <<a href="mailto:kkrozian@ringwoodsc.vic.edu.au">kkrozian@ringwoodsc.vic.edu.au</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span style="color:#1F497D">Hi Folks,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> I know VB is the overwhelming language of choice for SD teachers. Whilst we have some resources for
<a href="http://VB.NET">VB.NET</a> programming at <a href="http://www.edulists.com.au/sofdev/index.htm">
http://www.edulists.com.au/sofdev/index.htm</a> , wouldn’t it be wonderful if we could get perhaps a graduated set of worksheets/lessons/tasks that could be shared by others especially those who are struggling and would love some help ?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">I am more the PHP, Java, C# type of person and don’t have a ready made set of tasks to pass on in VB , but since around 90% of teachers do choose VB, perhaps some could help to make Victoria’s and others’ lives
a little more manageable when faced with something as challenging as a new Yr 12 course and no programming practice for many years.
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Kind Regards</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="color:#1F497D">Kevork Krozian</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">IT Pathways Manager</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Ringwood Trade Training Facility
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Tel: 0419 356 034</span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> <a href="mailto:sofdev-bounces@edulists.com.au">
sofdev-bounces@edulists.com.au</a> [<a href="mailto:sofdev-bounces@edulists.com.au">mailto:sofdev-bounces@edulists.com.au</a>]
<b>On Behalf Of </b>Howard, David<br>
<b>Sent:</b> Wednesday, 30 April 2014 11:16 AM<br>
<b>To:</b> Year 12 Software Development Teachers' Mailing List<br>
<b>Subject:</b> Re: [Year 12 SofDev] Programming Help</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black">There are great courses on Codecademy and
<a href="http://Lynda.com">Lynda.com</a></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black"> </span><o:p></o:p></p>
</div>
<div>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="540" style="width:405.0pt;background:white">
<tbody>
<tr>
<td style="border:none;border-bottom:solid #C50C1E 1.0pt;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><strong><span style="font-size: 10pt; color: rgb(2, 67, 125); font-family: Arial, sans-serif; ">David Howard</span></strong><span style="font-size: 10pt; color: rgb(2, 67, 125); font-family: Arial, sans-serif; "><br>
</span><span style="font-size: 8.5pt; color: rgb(197, 12, 30); font-family: Arial, sans-serif; ">Head of Learning Systems</span><o:p></o:p></p>
</td>
<td nowrap="" style="border:none;border-bottom:solid #C50C1E 1.0pt;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size: 9pt; color: black; font-family: Arial, sans-serif; "><a href="http://twitter.com/StMichaelsGS"><span style="color:navy;text-decoration:none"><img border="0" id="_x0000_i1025" src="https://services.stmichaels.vic.edu.au/community/icons/Icon_Twitter.png"></span></a> <a href="https://services.stmichaels.vic.edu.au/fb.cfm"><span style="color:navy;text-decoration:none"><img border="0" id="_x0000_i1026" src="https://services.stmichaels.vic.edu.au/community/icons/Icon_FB.png"></span></a> <a href="https://www.linkedin.com/company/st-michael%27s-grammar-school"><span style="color:navy;text-decoration:none"><img border="0" id="_x0000_i1027" src="https://services.stmichaels.vic.edu.au/community/icons/Icon_LinkedIn.png"></span></a></span><o:p></o:p></p>
</td>
</tr>
<tr>
<td valign="top" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><strong><span style="font-size: 7.5pt; color: rgb(2, 67, 125); font-family: Arial, sans-serif; ">25 Chapel Street, St Kilda VIC 3182 Australia</span></strong><o:p></o:p></p>
</td>
<td rowspan="2" valign="top" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black"><a href="https://www.stmichaels.vic.edu.au/"><span style="color:navy;text-decoration:none"><img border="0" width="113" height="75" id="_x0000_i1028" src="https://services.stmichaels.vic.edu.au/community/logo/SMGS_Logo_tall_100_2013_96d.png"></span></a></span><o:p></o:p></p>
</td>
</tr>
<tr>
<td valign="top" style="padding:.75pt .75pt .75pt .75pt">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="353" style="width:264.75pt">
<tbody>
<tr>
<td width="13" nowrap="" style="width:9.75pt;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><strong><span style="font-size: 7.5pt; color: rgb(2, 67, 125); font-family: Calibri, sans-serif; ">t</span></strong><o:p></o:p></p>
</td>
<td nowrap="" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:7.5pt;color:#02437D">+61 3 8530 3272 </span><o:p></o:p></p>
</td>
<td nowrap="" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><strong><span style="font-size: 7.5pt; color: rgb(2, 67, 125); font-family: Calibri, sans-serif; ">e</span></strong><span style="font-size:7.5pt;color:#02437D"> </span><o:p></o:p></p>
</td>
<td nowrap="" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:7.5pt;color:#02437D"><a href="mailto:dhoward@stmichaels.vic.edu.au"><span style="color:#02437D;text-decoration:none">dhoward@stmichaels.vic.edu.au</span></a></span><o:p></o:p></p>
</td>
</tr>
<tr>
<td nowrap="" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><strong><span style="font-size: 7.5pt; color: rgb(2, 67, 125); font-family: Calibri, sans-serif; ">f</span></strong><o:p></o:p></p>
</td>
<td nowrap="" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:7.5pt;color:#02437D">+61 3 9510 3161</span><o:p></o:p></p>
</td>
<td nowrap="" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><strong><span style="font-size: 7.5pt; color: rgb(2, 67, 125); font-family: Calibri, sans-serif; ">w</span></strong><o:p></o:p></p>
</td>
<td nowrap="" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:7.5pt;color:#02437D"><a href="https://www.stmichaels.vic.edu.au/"><span style="color:#02437D;text-decoration:none">stmichaels.vic.edu.au</span></a></span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td colspan="2" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size: 6.5pt; color: rgb(2, 67, 125); font-family: Arial, sans-serif; ">CRICOS Provider 00345G</span><o:p></o:p></p>
</td>
</tr>
<tr>
<td colspan="2" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size: 6.5pt; color: rgb(2, 67, 125); font-family: Arial, sans-serif; ">Please consider the environment before printing this email</span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black"> </span><o:p></o:p></p>
</div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="color:black">From: </span></b><span style="color:black">Victoria Farrell <<a href="mailto:FarrellV@humegrammar.vic.edu.au">FarrellV@humegrammar.vic.edu.au</a>><br>
<b>Reply-To: </b>Year List <<a href="mailto:sofdev@edulists.com.au">sofdev@edulists.com.au</a>><br>
<b>Date: </b>Wednesday, 30 April 2014 10:51 am<br>
<b>To: </b>Year List <<a href="mailto:sofdev@edulists.com.au">sofdev@edulists.com.au</a>><br>
<b>Subject: </b>Re: [Year 12 SofDev] Programming Help</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black"> </span><o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="color:#1F497D">Hi Kevork</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">In SD I’m using VB, but I have a Computer Club for all students who want to participate in various activities. I am more familiar with Small Basic, so I have been teaching the other classes SB as I thought it’s
a good introduction.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Any suggestions for programming short courses would be appreciated – as I spend hours of my time updating my skills in everything else and teaching myself programming is proving too difficult.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Cheers,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Vic</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size: 10pt; color: black; font-family: Tahoma, sans-serif; ">From:</span></b><span lang="EN-US" style="font-size: 10pt; color: black; font-family: Tahoma, sans-serif; "><a href="mailto:sofdev-bounces@edulists.com.au">sofdev-bounces@edulists.com.au</a>
[<a href="mailto:sofdev-bounces@edulists.com.au">mailto:sofdev-bounces@edulists.com.au</a>]
<b>On Behalf Of </b>Kevork KROZIAN<br>
<b>Sent:</b> Wednesday, 30 April 2014 9:16 AM<br>
<b>To:</b> Year 12 Software Development Teachers' Mailing List<br>
<b>Subject:</b> Re: [Year 12 SofDev] Programming Help</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><span style="color:black"> </span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-size: 12pt; color: black; font-family: 'Times New Roman', serif; ">Hi Victoria</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 12pt; color: black; font-family: 'Times New Roman', serif; "> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 12pt; color: black; font-family: 'Times New Roman', serif; ">What language are you using in your course ?</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 12pt; color: black; font-family: 'Times New Roman', serif; "> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 12pt; color: black; font-family: 'Times New Roman', serif; ">Kevork </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 12pt; color: black; font-family: 'Times New Roman', serif; "> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 12pt; color: black; font-family: 'Times New Roman', serif; "> </span><o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size: 7pt; color: rgb(87, 87, 87); font-family: 'Times New Roman', serif; ">Sent from my Samsung GALAXY S4 on the Telstra 4G network</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size: 12pt; color: black; font-family: 'Times New Roman', serif; "> </span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-size: 12pt; color: black; font-family: 'Times New Roman', serif; ">-------- Original message --------</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 12pt; color: black; font-family: 'Times New Roman', serif; ">From: Victoria Farrell
</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 12pt; color: black; font-family: 'Times New Roman', serif; ">Date:30/04/2014 7:51 AM (GMT+10:00)
</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 12pt; color: black; font-family: 'Times New Roman', serif; ">To: Year 12 Software Development Teachers' Mailing List
</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 12pt; color: black; font-family: 'Times New Roman', serif; ">Subject: Re: [Year 12 SofDev] Programming Help
</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 12pt; color: black; font-family: 'Times New Roman', serif; "> </span><o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="color:#1F497D">Thank you SO MUCH Peter, this has helped a lot!!!</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Vic</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size: 10pt; color: black; font-family: Tahoma, sans-serif; ">From:</span></b><span lang="EN-US" style="font-size: 10pt; color: black; font-family: Tahoma, sans-serif; "><a href="mailto:sofdev-bounces@edulists.com.au">sofdev-bounces@edulists.com.au</a>
[<a href="mailto:sofdev-bounces@edulists.com.au">mailto:sofdev-bounces@edulists.com.au</a>]
<b>On Behalf Of </b>Coventry, Peter J<br>
<b>Sent:</b> Tuesday, 29 April 2014 7:06 PM<br>
<b>To:</b> Year 12 Software Development Teachers' Mailing List<br>
<b>Subject:</b> Re: [Year 12 SofDev] Programming Help</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><span style="color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">The program you have is slightly different in its intentions – it asks for a number
<i>n</i> and then generates the first <i>n</i> prime numbers.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">However it could be adapted fairly easily by modifying the exit condition for the loop. (i.e. the program would ask for the last number and then check if Num=n to exit MainLoop. The Ender section would print
Array.GetItemCount(Prime)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">I’ve added some comments to the program to hopefully explain how it works.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Disclaimer: I don’t teach SD, and don’t really know Small Basic – I did a fair bit of programming in another life and still enjoy the occasional dabble.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Cheers,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Peter</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size: 10pt; color: black; font-family: Tahoma, sans-serif; ">From:</span></b><span lang="EN-US" style="font-size: 10pt; color: black; font-family: Tahoma, sans-serif; "><a href="mailto:sofdev-bounces@edulists.com.au">sofdev-bounces@edulists.com.au</a>
[<a href="mailto:sofdev-bounces@edulists.com.au">mailto:sofdev-bounces@edulists.com.au</a>]
<b>On Behalf Of </b>Victoria Farrell<br>
<b>Sent:</b> Tuesday, 29 April 2014 8:27 AM<br>
<b>To:</b> Year 12 Software Development Teachers' Mailing List<br>
<b>Subject:</b> [Year 12 SofDev] Programming Help</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><span style="color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Hi,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Very new to Software Development and it’s been 20 odd years since programming at Uni, I could use some help with a problem.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">I recently had students involved in the Melbourne University Programming Competition and had problems with solving the following question:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:NimbusRomNo9L-Regu;color:black">A positive integer
</span><span style="font-family:CMMI10;color:black">x > </span><span style="font-family:CMR10;color:black">1
</span><span style="font-family:NimbusRomNo9L-Regu;color:black">is a prime if its only factors are
</span><span style="font-family:CMR10;color:black">1 </span><span style="font-family:NimbusRomNo9L-Regu;color:black">and
</span><span style="font-family:CMMI10;color:black">x</span><span style="font-family:NimbusRomNo9L-Regu;color:black">. Hence the numbers
</span><span style="font-family:CMR10;color:black">2</span><span style="font-family:NimbusRomNo9L-Regu;color:black">,
</span><span style="font-family:CMR10;color:black">11</span><span style="font-family:NimbusRomNo9L-Regu;color:black">, and
</span><span style="font-family:CMR10;color:black">101 </span><span style="font-family:NimbusRomNo9L-Regu;color:black">are primes, but
</span><span style="font-family:CMR10;color:black">1</span><span style="font-family:NimbusRomNo9L-Regu;color:black">,
</span><span style="font-family:CMR10;color:black">9</span><span style="font-family:NimbusRomNo9L-Regu;color:black">,</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:NimbusRomNo9L-Regu;color:black">and
</span><span style="font-family:CMR10;color:black">1001 </span><span style="font-family:NimbusRomNo9L-Regu;color:black">are not prime*.</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:NimbusRomNo9L-Regu;color:black">The input to your program is a single positive integer
</span><span style="font-family:CMMI10;color:black">n</span><span style="font-family:NimbusRomNo9L-Regu;color:black">. The output should be the number of primes that are
</span><span style="font-family:CMSY10;color:black">_ </span><span style="font-family:CMMI10;color:black">n</span><span style="font-family:NimbusRomNo9L-Regu;color:black">.</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:NimbusRomNo9L-Regu;color:black">For example, if the input is
</span><span style="font-family:NimbusMonL-Regu;color:black">1000 </span><span style="font-family:NimbusRomNo9L-Regu;color:black">then the output is
</span><span style="font-family:NimbusMonL-Regu;color:black">168</span><span style="font-family:NimbusRomNo9L-Regu;color:black">.</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:NimbusRomNo9L-Regu;color:black">* In case you’re wondering,
</span><span style="font-family:CMR10;color:black">1001 = 7 </span><span style="font-family:CMSY10;color:black">_
</span><span style="font-family:CMR10;color:black">11 </span><span style="font-family:CMSY10;color:black">_
</span><span style="font-family:CMR10;color:black">13</span><span style="font-family:NimbusRomNo9L-Regu;color:black">.</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:NimbusRomNo9L-Regu;color:black">Your five answers should be for</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:NimbusRomNo9L-Regu;color:black">1.
</span><span style="font-family:CMMI10;color:black">n </span><span style="font-family:CMR10;color:black">= 10</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:NimbusRomNo9L-Regu;color:black">2.
</span><span style="font-family:CMMI10;color:black">n </span><span style="font-family:CMR10;color:black">= 100</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:NimbusRomNo9L-Regu;color:black">3.
</span><span style="font-family:CMMI10;color:black">n </span><span style="font-family:CMR10;color:black">= 100</span><span style="font-family:CMMI10;color:black">;
</span><span style="font-family:CMR10;color:black">000</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:NimbusRomNo9L-Regu;color:black">4.
</span><span style="font-family:CMMI10;color:black">n </span><span style="font-family:CMR10;color:black">= 10</span><span style="font-family:CMMI10;color:black">;
</span><span style="font-family:CMR10;color:black">000</span><span style="font-family:CMMI10;color:black">;
</span><span style="font-family:CMR10;color:black">000</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:NimbusRomNo9L-Regu;color:black">5.
</span><span style="font-family:CMMI10;color:black">n </span><span style="font-family:CMR10;color:black">= 20</span><span style="font-family:CMMI10;color:black">;
</span><span style="font-family:CMR10;color:black">000</span><span style="font-family:CMMI10;color:black">;
</span><span style="font-family:CMR10;color:black">000</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:NimbusRomNo9L-Regu;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:NimbusRomNo9L-Regu;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">We decided to solve in Small Basic so as to get a handle on lops and arrays, but did not manage to solve it. I found a solution online (below) but was not able to understand how the array worked. It doesn’t solve
the problem exactly as it just lists the input number of primes, but it certain can calculate/select for primes.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black">Init</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">:</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:#006060">TextWindow</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">.</span><span style="font-size:12.0pt;font-family:Consolas;color:#802020">WriteLine</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">(</span><span style="font-size:12.0pt;font-family:Consolas;color:#CC6633">"How
many Prime numbers (1-1000)? "</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">)</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black">N</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">=</span><span style="font-size:12.0pt;font-family:Consolas;color:#006060">TextWindow</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">.</span><span style="font-size:12.0pt;font-family:Consolas;color:#802020">ReadNumber</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">()</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-size:12.0pt;font-family:Consolas;color:#7777FF">If</span></b><span style="font-size:12.0pt;font-family:Consolas;color:black">N</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon"><</span><span style="font-size:12.0pt;font-family:Consolas;color:#DD6633">1</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">Or</span><span style="font-size:12.0pt;font-family:Consolas;color:black">
N</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">></span><span style="font-size:12.0pt;font-family:Consolas;color:#DD6633">1000</span><b><span style="font-size:12.0pt;font-family:Consolas;color:#7777FF">Then</span></b><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black">
</span><span style="font-size:12.0pt;font-family:Consolas;color:#006060">TextWindow</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">.</span><span style="font-size:12.0pt;font-family:Consolas;color:#802020">WriteLine</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">(</span><span style="font-size:12.0pt;font-family:Consolas;color:#CC6633">"That's
All Folks!"</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">)</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black">
</span><span style="font-size:12.0pt;font-family:Consolas;color:#006060">TextWindow</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">.</span><span style="font-size:12.0pt;font-family:Consolas;color:#802020">Pause</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">()</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black">
</span><span style="font-size:12.0pt;font-family:Consolas;color:#006060">Program</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">.</span><span style="font-size:12.0pt;font-family:Consolas;color:#802020">End</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">()</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-size:12.0pt;font-family:Consolas;color:#7777FF">EndIf</span></b><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black">Prime</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">=</span><span style="font-size:12.0pt;font-family:Consolas;color:#CC6633">"1=2;"</span><span style="font-size:12.0pt;font-family:Consolas;color:#1F497D">
‘ Prime is an array to hold the prime numbers we find. Start by creating a single element array with value 2 – the first prime number</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black">Num</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">=</span><span style="font-size:12.0pt;font-family:Consolas;color:black">Prime[</span><span style="font-size:12.0pt;font-family:Consolas;color:#006060">Array</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">.</span><span style="font-size:12.0pt;font-family:Consolas;color:#802020">GetItemCount</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">(</span><span style="font-size:12.0pt;font-family:Consolas;color:black">Prime</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">)</span><span style="font-size:12.0pt;font-family:Consolas;color:black">]</span><span style="font-size:12.0pt;font-family:Consolas;color:#1F497D">
‘ Num is the current number we are checking to see if it is prime. This gets the value of the last element in Prime. Could have also said Num=2</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black">MainLoop</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">:</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black">Num</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">=</span><span style="font-size:12.0pt;font-family:Consolas;color:black">Num</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">+</span><span style="font-size:12.0pt;font-family:Consolas;color:#DD6633">1</span><span style="font-size:12.0pt;font-family:Consolas;color:#1F497D">
‘ looking at the next number to see if it is prime</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black">
</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black"> Flag</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">=</span><span style="font-size:12.0pt;font-family:Consolas;color:#DD6633">1</span><span style="font-size:12.0pt;font-family:Consolas;color:#1F497D">
‘ Flag is 1 if Num is prime</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black">
</span><b><span style="font-size:12.0pt;font-family:Consolas;color:#7777FF">For</span></b><span style="font-size:12.0pt;font-family:Consolas;color:black"> i</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">=</span><span style="font-size:12.0pt;font-family:Consolas;color:#DD6633">1</span><b><span style="font-size:12.0pt;font-family:Consolas;color:#7777FF">To</span></b><span style="font-size:12.0pt;font-family:Consolas;color:black"></span><span style="font-size:12.0pt;font-family:Consolas;color:#006060">Array</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">.</span><span style="font-size:12.0pt;font-family:Consolas;color:#802020">GetItemCount</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">(</span><span style="font-size:12.0pt;font-family:Consolas;color:black">Prime</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">)</span><span style="font-size:12.0pt;font-family:Consolas;color:#1F497D">
</span><span style="color:#1F497D">‘ Loop through each of the prime numbers in the array so far,</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black">
</span><b><span style="font-size:12.0pt;font-family:Consolas;color:#7777FF">If</span></b><span style="font-size:12.0pt;font-family:Consolas;color:black"></span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">(</span><span style="font-size:12.0pt;font-family:Consolas;color:#006060">Math</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">.</span><span style="font-size:12.0pt;font-family:Consolas;color:#802020">Remainder</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">(</span><span style="font-size:12.0pt;font-family:Consolas;color:black">Num</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">,</span><span style="font-size:12.0pt;font-family:Consolas;color:black">Prime[i]</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">)=</span><span style="font-size:12.0pt;font-family:Consolas;color:#DD6633">0</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">)</span><b><span style="font-size:12.0pt;font-family:Consolas;color:#7777FF">Then</span></b><b><span style="font-size:12.0pt;font-family:Consolas;color:#1F497D">
</span></b><span style="font-size:12.0pt;font-family:Consolas;color:#1F497D">‘ check ifthe prime number is a factor of Num</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black">
</span><i><span style="font-size:12.0pt;font-family:Consolas;color:#008020">'Not Prime</span></i><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black"> Flag</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">=</span><span style="font-size:12.0pt;font-family:Consolas;color:#DD6633">0</span><span style="font-size:12.0pt;font-family:Consolas;color:#1F497D">
‘ resets Flag</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black"> i</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">=</span><span style="font-size:12.0pt;font-family:Consolas;color:#006060">Array</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">.</span><span style="font-size:12.0pt;font-family:Consolas;color:#802020">GetItemCount</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">(</span><span style="font-size:12.0pt;font-family:Consolas;color:black">Prime</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">)</span><span style="font-size:12.0pt;font-family:Consolas;color:#1F497D">
‘ sets i to the last value so it exits this loop</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black">
</span><b><span style="font-size:12.0pt;font-family:Consolas;color:#7777FF">EndIf</span></b><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black">
</span><b><span style="font-size:12.0pt;font-family:Consolas;color:#7777FF">EndFor</span></b><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black"> </span><b><span style="font-size:12.0pt;font-family:Consolas;color:#7777FF">If</span></b><span style="font-size:12.0pt;font-family:Consolas;color:black">
Flag</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">=</span><span style="font-size:12.0pt;font-family:Consolas;color:#DD6633">1</span><b><span style="font-size:12.0pt;font-family:Consolas;color:#7777FF">Then</span></b><b><span style="font-size:12.0pt;font-family:Consolas;color:#1F497D">
‘</span></b><span style="font-size:12.0pt;font-family:Consolas;color:#1F497D">if we get to here with Flag=1 then the number has no factors besides itself – so it is prime</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black"> Prime[</span><span style="font-size:12.0pt;font-family:Consolas;color:#006060">Array</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">.</span><span style="font-size:12.0pt;font-family:Consolas;color:#802020">GetItemCount</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">(</span><span style="font-size:12.0pt;font-family:Consolas;color:black">Prime</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">)+</span><span style="font-size:12.0pt;font-family:Consolas;color:#DD6633">1</span><span style="font-size:12.0pt;font-family:Consolas;color:black">]</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">=</span><span style="font-size:12.0pt;font-family:Consolas;color:black">Num</span><span style="font-size:12.0pt;font-family:Consolas;color:#1F497D">
‘add this number to the end of the Prime array</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black">
</span><span style="font-size:12.0pt;font-family:Consolas;color:#006060">TextWindow</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">.</span><span style="font-size:12.0pt;font-family:Consolas;color:#802020">Write</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">(</span><span style="font-size:12.0pt;font-family:Consolas;color:#006060">Array</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">.</span><span style="font-size:12.0pt;font-family:Consolas;color:#802020">GetItemCount</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">(</span><span style="font-size:12.0pt;font-family:Consolas;color:black">Prime</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">))</span><span style="font-size:12.0pt;font-family:Consolas;color:#1F497D">
‘print something out</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black">
</span><span style="font-size:12.0pt;font-family:Consolas;color:#006060">TextWindow</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">.</span><span style="font-size:12.0pt;font-family:Consolas;color:#802020">WriteLine</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">(</span><span style="font-size:12.0pt;font-family:Consolas;color:#CC6633">"
"</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">+</span><span style="font-size:12.0pt;font-family:Consolas;color:black">Num</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">)</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black">
</span><b><span style="font-size:12.0pt;font-family:Consolas;color:#7777FF">if</span></b><span style="font-size:12.0pt;font-family:Consolas;color:black"></span><span style="font-size:12.0pt;font-family:Consolas;color:#006060">Array</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">.</span><span style="font-size:12.0pt;font-family:Consolas;color:#802020">GetItemCount</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">(</span><span style="font-size:12.0pt;font-family:Consolas;color:black">Prime</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">)>=</span><span style="font-size:12.0pt;font-family:Consolas;color:black">N</span><b><span style="font-size:12.0pt;font-family:Consolas;color:#7777FF">Then</span></b><b><span style="font-size:12.0pt;font-family:Consolas;color:#1F497D">
</span></b><span style="font-size:12.0pt;font-family:Consolas;color:#1F497D">‘If we have found the number of primes requested, then exit the MainLoop</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black">
</span><b><span style="font-size:12.0pt;font-family:Consolas;color:#7777FF">Goto</span></b><span style="font-size:12.0pt;font-family:Consolas;color:black"> Ender</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black">
</span><b><span style="font-size:12.0pt;font-family:Consolas;color:#7777FF">EndIf</span></b><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black">
</span><b><span style="font-size:12.0pt;font-family:Consolas;color:#7777FF">EndIf</span></b><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black">
</span><b><span style="font-size:12.0pt;font-family:Consolas;color:#7777FF">Goto</span></b><span style="font-size:12.0pt;font-family:Consolas;color:black"> MainLoop</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black">
</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:black">Ender</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">:</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><i><span style="font-size:12.0pt;font-family:Consolas;color:#008020">'TextWindow.Write("Press any key to continue...")</span></i><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:#006060">TextWindow</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">.</span><span style="font-size:12.0pt;font-family:Consolas;color:#802020">WriteLine</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">(</span><span style="font-size:12.0pt;font-family:Consolas;color:#CC6633">"---"</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">)</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:Consolas;color:#006060">TextWindow</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">.</span><span style="font-size:12.0pt;font-family:Consolas;color:#802020">Pause</span><span style="font-size:12.0pt;font-family:Consolas;color:maroon">()</span><o:p></o:p></p>
<p class="MsoNormal"><b><span style="font-size:12.0pt;font-family:Consolas;color:#7777FF">Goto</span></b><span style="font-size:12.0pt;font-family:Consolas;color:black">Init</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:Consolas;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Can anyone give me a brief written description, or point me to an online resource that can explain how this array functions? Can anyone identify a Small Basic function more suited to this problem?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Vic</span><o:p></o:p></p>
<p><b><span style="color:black">Important - </span></b><span style="color:black">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.</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><span style="font-size: 12pt; color: black; font-family: 'Times New Roman', serif; "> </span><o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size: 12pt; color: black; font-family: 'Times New Roman', serif; ">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><span style="font-size: 7.5pt; color: gray; font-family: Arial, sans-serif; "><br>
Important - 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 Ringwood Secondary College.</span><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><span style="font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size: 12pt; font-family: 'Times New Roman', serif; ">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><span style="font-size: 7.5pt; color: gray; font-family: Arial, sans-serif; "><br>
Important - 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 Ringwood Secondary College.</span><span style="font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p></o:p></span></p>
</div>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span style="font-size: 12pt; font-family: 'Times New Roman', serif; ">_______________________________________________<br>
<a href="http://www.edulists.com.au">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">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">http://www.vcaa.vic.edu.au/vce/studies/infotech/softwaredevel3-4.html</a><br>
<a href="http://www.vitta.org.au">http://www.vitta.org.au</a> - VITTA Victorian Information Technology Teachers Association Inc<br>
<a href="http://www.swinburne.edu.au/ict/schools">http://www.swinburne.edu.au/ict/schools</a> - Swinburne University<o:p></o:p></span></p>
</div>
</blockquote>
<p class="MsoNormal"><span style="font-size: 12pt; font-family: 'Times New Roman', serif; "><br>
</span><span style="font-size: 7.5pt; color: gray; font-family: Arial, sans-serif; "><br>
THIS E-MAIL IS CONFIDENTIAL.If you have received this e-mail in error, please<br>
notify me by return e-mail and delete the document. If you are not the intended<br>
recipient you are hereby notified that any disclosure, copying, distribution or<br>
taking any action in reliance on the contents of this information is strictly<br>
prohibited and may be unlawful. Galen Catholic College is not liable for the<br>
proper and complete transmission of the information contained in this<br>
communication or for any delay in its receipt.</span><span style="font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p></o:p></span></p>
</div>
</div>
</div>
_______________________________________________ <a href="http://www.edulists.com.au">
http://www.edulists.com.au</a> - FAQ, Subscribe, Unsubscribe IT Software Development Mailing List kindly supported by
<a href="http://www.vcaa.vic.edu.au">http://www.vcaa.vic.edu.au</a> - Victorian Curriculum and Assessment Authority and
<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>
<a href="http://www.vitta.org.au">http://www.vitta.org.au</a> - VITTA Victorian Information Technology Teachers Association Inc
<a href="http://www.swinburne.edu.au/ict/schools">http://www.swinburne.edu.au/ict/schools</a> - Swinburne University</span>
<br>
<font face="Arial" color="Gray" size="1"><br>
THIS E-MAIL IS CONFIDENTIAL.If you have received this e-mail in error, please<br>
notify me by return e-mail and delete the document. If you are not the intended<br>
recipient you are hereby notified that any disclosure, copying, distribution or<br>
taking any action in reliance on the contents of this information is strictly<br>
prohibited and may be unlawful. Galen Catholic College is not liable for the<br>
proper and complete transmission of the information contained in this<br>
communication or for any delay in its receipt.<br>
</font>
</body>
</html>