Comments, mostly opinion.
1. I would not overly-structure such an "answer." In other words, I'd not try
to match answers to sub-questions, and leave it more free-form for authors to
organize as they wish.
2. Code for how answers move to the appendix needs serious work. I'd rather
not bolt something on now, to just have to redo it later. That won't stop
designing the markup, though, and perhaps presenting them adjacent as knowls for
the time being.
3. WW problems are obviously tied to WW in many ways. But for "simple"
questions (with no, or little, pg-code setup) it would be nice to be able
convert them to other systems (is that a pipe dream?). So I'm not wild about
the utility of answers in WW syntax, nor the complexity of handling "different
situations/different processing flags." I think students figure out syntax
pretty quickly, so after a while it might have even less benefit. An author
could provide both styles early on, if they wished.
4. No end of trouble avoiding confusion in the code with hint, solution, etc.
Be sure to "protect" the WW ones from the others.
Now derailing the thread slightly. Move this to a new thread if you wish. When
we started the WW work I imagined the HTML versions to function much like "Show
Me Another" - a reader could get many different versions. I realize that may
diminish the value of the problems to those who only allow limited number of
tries for graded versions. But if I have a killer reduced row-echelon form
problem, why write several more? Let the randomization features make new ones.
Is this (optionally) technically possible? Am I missing/forgetting something
philosophical?
Rob
> <p><m>\int_0^x t\,dt=</m><varname="$answera"/></p>
> | <p><m>\int_0^x t^2\,dt=</m><varname="$answerb"/></p>
> | </statement>
> </webwork>
> </exercise>
> |
>
> A "hint" would give a hint and a "solution" would give a full walkthrough solution.
> Keeping in mind that (as far as I can tell) an "answer" here is pretty much only
> going to be for the purposes of an answer list in the back of the book,
>
> 1. should there be just one "answer" that maybe uses a comma, or two answers?
> Two may feel more natural when there are two answer blanks, but only using
> one would mean less modification to the XSL for answer lists, and also
> relieve an author of any burden to get the number of blanks to match the
> number of "answer"s.
> 2. should "answer(s)" be peers of "statement"? (I would say yes, but just being
> thorough with questioning.)
> 3. what should actually be the content of "answer"? Focusing on the first part
> of the exercise, I could see either of:
> * <m>\frac{1}{2}x^2</m>
> which is a nice looking typeset piece of math, and could be mixed with
> regular text
> * 1/2 x<circumflex />2
> which would output in monospace font as "1/2 x^2", literally a string
> you could feed to WeBWorK to get the answer right.
>
> I kind of like the second option, but then answers in the back of the book will
> look like this a lot of the time: "(0,inf)", "sqrt(1+x^2)", etc. Not pretty
> typeset.
> And if anyone is using the book and choosing /not/ to use WeBWorK, that
> might be really undesirable.
>
> 4. thoughts on "answer" having both an "input" (1/2 x<circumflex />2) and an
> "output"
> (<m>\frac{1}{2}x^2</m>) children? Different situations/different processing
> flags
> could use one or the other.
>
> --
> You received this message because you are subscribed to the Google Groups
> "MathBook XML Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to
mathbook-xml-sup...@googlegroups.com
> <mailto:
mathbook-xml-sup...@googlegroups.com>.
> For more options, visit
https://groups.google.com/d/optout.