Re: Partial for wrong sign

Added by Sa-aadat Parker about 1 month ago

Hello,

Suppose the correct answer is '-5' and scores 2. Is it possible for an answer of 5 to score 1? Is it possible to give partial credit for an incorrect sign?


Replies (2)

RE: Re: Partial for wrong sign - Added by Sa-aadat Parker about 1 month ago

Sorry, I realised I did not give enough detail. Here the \AMCnumericChoices is used, where the student has to cross the number corresponding to the correct answer. Is it possible to give partial credit for an incorrect sign but correct magnitude for a numeric answer?

RE: Re: Partial for wrong sign - Added by Frédéric Bréal about 1 month ago

\begin{questionmultx}{abs}
\scoring{formula=(Vdifference== 0 ? 2 : Vdifference== 2*abs(intV) ? 1 : 0)}    
    \AMCnumericChoices{-5}{digits=1,sign=true,scoring=false}
\end{questionmultx}

Documentation : https://www.auto-multiple-choice.net/doc/latex/ -> Access to values

(1-2/2)