[Year 12 SofDev] Sensorlight programming practice exercise

Matheson, Heath A Matheson.Heath.A at edumail.vic.gov.au
Thu May 5 15:07:51 EST 2011


A great task Mark,

They got quite a kick out of completing it. Here is a python/Tkinter solution.

Heath

From: sofdev-bounces at edulists.com.au [mailto:sofdev-bounces at edulists.com.au] On Behalf Of Mark KELLY
Sent: Thursday, 7 April 2011 3:04 PM
To: Year 12 Software Development Teachers' Mailing List
Subject: [Year 12 SofDev] Sensorlight programming practice exercise

Hi folk.

I'm always on the lookout for small but challenging programming tasks for kids as they start out with SD.  Here's one I made up as I noticed my sensor light turning on at home.  Literally a lightbulb moment  :-)

The functional requirements seem simple, but the algorithm challenged them. The kids spent two periods having fun working on it.

Task, and sample VB2010 Express solution (zipped) are attached - I haven't distributed a VB2010 project before, so Dog only knows if I packaged the right files.
Google won't let me mail .zip files, so you need to rename .zipped as .zip  :-[

Cheers

--
Mark Kelly
Manager of ICT, Reporting, IT Learning Area
McKinnon Secondary College
McKinnon Rd McKinnon 3204, Victoria, Australia
Direct line / Voicemail: +613 8520 9085, Fax +613 9578 9253
kel at mckinnonsc.vic.edu.au<mailto:kel at mckinnonsc.vic.edu.au>
VCE IT Lecture Notes: http://vceit.com
Moderator: IT Applications Edulist

All generalisations are false, except this one.

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 the Department of Education and Early Childhood Development.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.edulists.com.au/pipermail/sofdev/attachments/20110505/40b51622/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sensorlight.py
Type: application/octet-stream
Size: 1854 bytes
Desc: sensorlight.py
Url : http://www.edulists.com.au/pipermail/sofdev/attachments/20110505/40b51622/sensorlight.py 


More information about the sofdev mailing list