Example/Sample Question with Answers

Added by shreikant kv almost 9 years ago

Perhaps in a project I would like to have one question like:
What is the capital of France?
Paris Berlin Madrid London

When boxes appear for this question, I want the correct option Paris
with filled box.

However for other questions, I would like the behaviour of AMC to be
the usual one to produce DOC-sujet.

How can I achieve this?

Applications: (a) I can print a code/name for project on the sheets and
automatically pick it up at data capture stage. This takes care of one of
the feature requests I have seen.
(b) To show students how they should "fully" bubble the choices.


Replies (3)

RE: Example/Sample Question with Answers - Added by shreikant kv almost 9 years ago

...in continuation....

It is not just for simple questions that I desire, but perhaps for
questionmult and numeric ones too. I guess there is a latex switch
in the style file which does this when "answers" option is given
to the package -- but it does this for the whole file/project.

RE: Example/Sample Question with Answers - Added by Alexis Bienvenüe almost 9 years ago

The switch used to tick or not correct answers is \AMC@correc. You can define a command to set it to true, just after the \begin{document}

\makeatletter
\def\AMCforcecorrect{\AMC@correctrue}
\makeatother

and then use it for a particular question (enclose in braces to limit its effect to one question):
{\AMCforcecorrect\begin{questionmult}{test}
 .....
 \end{questionmult}
}

Not that in case (b), you should tell AMC not to count points for this question (with a 0-point scoring, or using \QuestionIndicative).

(1-3/3)