[Year 12 SofDev] loops and trace tables

PIKE Philip pikep at bmg.vic.edu.au
Tue Feb 28 10:30:09 AEDT 2017


HI John, this is a document I have on file which has come from the list in the past.
Regards



[cid:bmglogo15_b9c6b1de-c107-4ad3-a724-e0131d357731.png]

Philip Pike
Director of E-Learning / Learning Area Coordinator: ICT

Bacchus Marsh Grammar
T. 03 5366 4800  F. 03 5366 4850
E. pikep at bmg.vic.edu.au  W. http://www.bmg.vic.edu.au
South Maddingley Road | PO Box 214 | Bacchus Marsh Victoria 3340

From: sofdev-bounces at edulists.com.au [mailto:sofdev-bounces at edulists.com.au] On Behalf Of WILKIE. John
Sent: Tuesday, 28 February 2017 10:09 AM
To: sofdev at edulists.com.au
Subject: [Year 12 SofDev] loops and trace tables

Hi All!

Hope you are all good. First time Soft Dev teacher here.

I'm looking at loops and trace tables at the moment. I'd like to confirm the Pseudocode you could use for a loop? And then how the trace table would look. At the moment I have:

x < = 1
arrlength <= 4
while x < arrlength
Print "Time" + x
Print time(x)
x + 1
End while

x

arrlength

output

1

4

Time1 time1

2

4

Time2 time2

3

4

Time3 time3

4

4

-














(time is an array where x will be the position in array ie. time1, time2 etc.)

I think the logic is there, but another pair of eyes will help my tired brain. Any major issues?

Also, are there any good Pseudocode examples (possibly with trace tables) that anyone is happy to share?

Regards,

John Wilkie


[http://www.lavalla.vic.edu.au/Images/lavalla-logo.jpg]<http://www.lavalla.vic.edu.au>


John Wilkie


T (03) 5174 8111

John.Wilkie at lavalla.vic.edu.au<mailto:John.Wilkie at lavalla.vic.edu.au>
www.lavalla.vic.edu.au


________________________________

This message may contain confidential and/or privileged information. If you have received this message in error, please notify the sender immediately by replying to this email and then delete the email from your system. Any views expressed in this message are those of the individual sender and not necessarily those of Lavalla Catholic College. Thank you for your cooperation.
________________________________
PRIVATE & CONFIDENTIAL
The content of this e-mail and any attachments may be private and confidential, intended only for use of the individual or entity named. If you are not the intended recipient of this message you must not read, forward, print, copy, disclose, use or store in any way the information this e-mail or any attachment contains.
If you are not the intended recipient, please notify the sender immediately and delete or destroy all copies of this e-mail and any attachments.
Our organisation respects the privacy of individuals. For a copy of our privacy policy please go to our website or contact us.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.edulists.com.au/pipermail/sofdev/attachments/20170227/574851ad/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bmglogo15_b9c6b1de-c107-4ad3-a724-e0131d357731.png
Type: image/png
Size: 2761 bytes
Desc: bmglogo15_b9c6b1de-c107-4ad3-a724-e0131d357731.png
Url : http://www.edulists.com.au/pipermail/sofdev/attachments/20170227/574851ad/bmglogo15_b9c6b1de-c107-4ad3-a724-e0131d357731-0001.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: algorithms - testing.doc
Type: application/msword
Size: 23040 bytes
Desc: algorithms - testing.doc
Url : http://www.edulists.com.au/pipermail/sofdev/attachments/20170227/574851ad/algorithms-testing-0001.doc 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: algorithms - testing- solution.doc
Type: application/msword
Size: 26112 bytes
Desc: algorithms - testing- solution.doc
Url : http://www.edulists.com.au/pipermail/sofdev/attachments/20170227/574851ad/algorithms-testing-solution-0001.doc 


More information about the sofdev mailing list