The standard view of this forum does not always work well with assistive technology. We also provide a simpler view, which still contains all features. Switch to simple view.

Albert Gomez Post 1

12 June 2016, 6:27 AM Edited by the author on 12 June 2016, 6:35 AM

Put Answer in Feedback

Attachment

Dear Tim Hunt,

I'm creating questions in which numerical answers are required and want to show the answer in the General feedback field, so my pupils may see a fully worked-out solution including the answer. Can this be done? For example, using {i} as a wildcard and entering {i}/1000 in the Answer 1 formula box, how can the answer be shown to the pupils after they click on Check?

Imagine the computer generated wildcard {i} is a number such as 12. The correct answer is 0.012. What command (LaTeX or Sprintf or whatever) should I place in the General feedback field to elicit the expected answer, that is, 0.012. (Entering {i}/1000 simply doesn't work and entering \frac{{i}}{1000} just doesn't look as it should, as you can see in the attached screen-print.)

Thanks for your answer,

Al

Tim Hunt Post 2 (summarised) in reply to 1

13 June 2016, 11:43 AM
Any additional quantities you need to use in the general feedback, you need...
 [Expand all posts]

Albert Gomez Post 3 (summarised) in reply to 2

14 June 2016, 6:45 AM
Thanks a lot, Tim, This has solved my problem almost completely. One little...
 [Expand all posts]

Tim Hunt Post 4 (summarised) in reply to 3

14 June 2016, 10:31 AM
Try =round(power(10, rand_int(29999)/10000), 0) That should give almost equal...
 [Expand all posts]

Albert Gomez Post 5 (summarised) in reply to 4

14 June 2016, 3:27 PM
Thanks, Tim, It does work. Following your piece of advice, I have defined my...
 [Expand all posts]

Tim Hunt Post 6 (summarised) in reply to 5

15 June 2016, 12:48 PM
Sorry, I don't know if there is any way to control the formatting.
 [Expand all posts]

Albert Gomez Post 7 (summarised) in reply to 6

15 June 2016, 8:06 PM Edited by the author on 15 June 2016, 8:06 PM
Dear Tim, After much search, I seem to have come up with a solution. The...
 [Expand all posts]