[Year 12 Its] Post mortem erratum - B7a
Mark Kelly
kel at mckinnonsc.vic.edu.au
Mon Nov 13 14:17:12 EST 2006
In B7a, my original answer to the second test case was "Close" based on
the action of the first IF statement. Thanks to a perceptive student who
emailed to correct: it should be (close, then) *Open*.
The t=34 triggers the first IF statement (which closes the curtain). It
was at that point that I stopped reading and moved to the next question...
But then in the second IF statement the L=5000 triggers the curtain
opening. So the curtain closes, then opens, so the algorithm finally
produces an OPEN status - which is what the question asked. Ooops!
--
Mark Kelly
Manager - Information Systems
McKinnon Secondary College
McKinnon Rd McKinnon 3204, Victoria, Australia
Direct line / Voicemail: 8520 9085
School Phone +613 8520 9000 << new number!
School Fax +613 9578 9253
Webmaster - http://www.mckinnonsc.vic.edu.au
IPM Lecture notes: http://vceit.com
Moderator: IPM Mailing List
Doctor - We must all face reality sooner or later.
Dowd - I wrestled with reality for 35 years, doctor, and I'm happy to
say I won out over it. ('Harvey', 1950)
More information about the is
mailing list