[Year 12 SofDev] Slightly off topic question

Kent Beveridge kbeveridge at stbc.vic.edu.au
Tue Dec 12 23:01:30 EST 2017


Hey there Mark...
I gave the 'Swift Playgrounds' Apple language a run this year with the 7/8 crew on their iPADS. It uses functions and looping in its learning phase. Plus...the kids enjoyed it as it had an animated character they were making do the moves(visual aspect!).

just a thought...

Kent.

Kent Beveridge
Teacher

________________________________
From: sofdev [sofdev-bounces at edulists.com.au] on behalf of Mark [mark at vceit.com]
Sent: Wednesday, 13 December 2017 2:12 PM
To: Year 12 Software Development Teachers' Mailing List
Subject: Re: [Year 12 SofDev] Slightly off topic question


On Wed, Dec 13, 2017 at 11:18 AM, Paragreen, Chris J <paragreen.chris.j at edumail.vic.gov.au<mailto:paragreen.chris.j at edumail.vic.gov.au>> wrote:

I haven’t, but it gives me an idea …. A good way to embed some algorithmic thinking …?

Chris

I fully endorse the brief exposure of SD students to the concept of assembly code - even machine code, and how CPUs work in binary with registers and stuff.
But... going to that depth to teach algorithms may be less beneficial.

You may risk losing sight of the overall algorithm in the tortuous and bulky detail of the assembly code...
High level source code hides the gory complexities of CPU operations and lets humans focus on higher, more spiritual and abstract programming matters.
That's one of the reasons the exam only deals in generic, high-level pseudocode.

<RANT>

In fact SD pcode is so high level that I have yet to see any VCAA exam pseudocode that even calls a function using parameters!
This really need to happen soon.
The lack of functions in pcode is a serious deficiency in examining students' understanding of basic modular programming.

Would it be so hard for pseudocode like...

sampletext <-- "foobar"
mode <-- "upper"
newtext <-- CHANGECASE(sampletext, mode)
DISPLAY newtext

and then include a function like

FUNCTION CHANGECASE(T,M)
  IF M == "upper" THEN
     Convert T to uppercase
  ELSEIF m == "lower" THEN
     Convert T to lowercase
  ELSE
      DISPLAY "Mode parameter must be UPPER or LOWER"
 END IF
 RETURN T
END FUNCTION

... and then a nice question about calling the function, passing some parameters, and using the function's output?

Think of how deliciously juicy the exam pseudocode could become with the added milky goodness of functions...  drool.

</RANT>

My point is, it can be all too easy to get lost in the lower-level opcodes and forget the overall shape and intention of the algorithm one was supposed to be working for.

I don't miss the days when I could calculate in hexadecimal as easily as I could in decimal.
Now I expect software to carry that mundane load for me, like a faithful servant, so I can dwell on more lofty and ethereal matters.

Like lunch.

--

Mark Kelly

mark at vceit.com<mailto:mark at vceit.com>
http://vceit.com
Twitter @vceitcom<https://twitter.com/intent/follow?original_referer=http%3A%2F%2Fvceit.com%2Fwp%2F&ref_src=twsrc%5Etfw&region=follow_link&screen_name=vceitcom&tw_p=followbutton>

Powered by nybbles.






Click here<https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==> to report this email as spam.
St Brigid's College
97 Robinson Street, Horsham VIC 3400
T 03 5382 3545   F 03 5382 0757
ABN 72 749 438 155
www.stbc.vic.edu.au<http://www.stbc.vic.edu.au/>
        [http://library.stbc.vic.edu.au/StBCLogo.jpg]
P Please consider the environment before printing this email or attachment.
IMPORTANT! This email and any attachments may be confidential. If received in error, please contact us and delete all copies. St. Brigid's College does not represent or warrant that the attached files are free from computer viruses or other defects. The attached files are provided, and may only be used, on the basis that the user assumes all responsibility for any loss, damage or consequence resulting directly or indirectly from the use of the attached files, whether caused by the negligence of the sender or not. The liability of St. Brigid's College is limited in any event to either the resupply of the attached files or the cost of having the attached files resupplied. Any representations or opinions expressed in this email are those of the individual sender, and not necessarily those of St. Brigid's College.


This message has been scanned for malware by Websense. www.websense.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://edulists.com.au/pipermail/sofdev/attachments/20171213/0a470f2a/attachment.html>


More information about the sofdev mailing list