David Joyner <[EMAIL PROTECTED]> writes: > > One idea worth considering is to try to run such a TA entirely through > the SAGE notebook. Depending on how you plan to design the TA, this > might require timed pages (they get locked after a certain time. > I don't think this is supported currently (or even if you want to > go that way). William Stein or Tom Boothby would be the people to > ask, if that is what you want to do. > > One design scenatio: you use the notebook and someone > (say Tom) wrote support for a timed, locked page, then you would > design a worksheet (a locked page which would allow cell entries but no > other changes) which had you questions pretyped but with empty > cells under each one: > > Problem: Expand (x + y)^2. > BLANK CELL > > The test-taker would type their answer into the cell and > SAGE would compare that to the correct answer.
I created by hand an instance of a "sage TA exam" it is a very basic example of what I have in mind (hardly a proof of concept) can be seen here: http://www.sagenb.com/TAexmpl I created this by hand but the idea is to have a program creating this worksheet and then submit it to sage for evaluation. Of course in the real version the "answer functions" would do more than just printing "True" or "False", for example they should handle scoring and provide inteligent feedback. I have a few questions about having programs create and evaluate sage workshets. 0) is it possible to load an "sage enhanced" html file directly into a notebook without going through the inbuilt text editor (accecible via the "Edit" link)? 1) Is it possible for embedded javascript to create a sage cell in a notebook? In particular I would like to have javascript read a value from a form and then create an appropriatte sage cell. For example in the notebook "TAexmpl" (see link above), the tes-taker to answer the first question would just type "-3" and then javascript would create a sage cell with "answer1(-3)" in it. 2) Are there any plans to implement a "locking" function that would not allow editing of a notebook? Any further comments are most welcome. TIA, Nikos Apostolakis --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---