[Edu-sig] Python Programming: Procedural Online Test

w chun wescpy at gmail.com
Tue Dec 6 08:46:32 CET 2005


> The problems seemed to get much easier in the last 5 or so (very basic
> syntax questions).  The one about "James"=="james" returning -1 is no longer
> true on some Pythons (as now we have boolean True).


the tests were well done... i enjoyed taking them.  like kirby, i also
found the Boolean issue.  in the procedural test, i found a syntax
error... i think the question with the [None] * 5... (well, [None,
None, None, None, None] actually), where you're setting "x[b[i] =
True:" ... that colon shouldn't be there.  there was/were also
question(s) which used sum as a variable name.  that is a built-in
function that is hidden if used.  interestingly enough, your syntax
checked actually highlighted it too.  :-)

cheers,
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"Core Python Programming", Prentice Hall, (c)2006,2001
    http://corepython.com

wesley.j.chun :: wescpy-at-gmail.com
cyberweb.consulting : silicon valley, ca
http://cyberwebconsulting.com


More information about the Edu-sig mailing list