<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><a name="_MailEndCompose"><span style="color:#1F497D">Hi Jacob,<o:p></o:p></span></a></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thank you for your replies. I think I’d better go with a paper homework for now, and come back to this in the summer. Thanks again for taking time to respond.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:#1F497D">Gene L. Harding, PE<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Associate Professor of ECET<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">574-520-4190<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Purdue University-South Bend<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> lon-capa-users-bounces@mail.lon-capa.org [mailto:lon-capa-users-bounces@mail.lon-capa.org]
<b>On Behalf Of </b>Jacob Bond<br>
<b>Sent:</b> Wednesday, January 25, 2017 9:40 PM<br>
<b>To:</b> Discussion list for LON-CAPA users <lon-capa-users@mail.lon-capa.org><br>
<b>Subject:</b> Re: [LON-CAPA-users] Function Plot Response Partial Credit Grading<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div id="divtagdefaultwrapper">
<p><span style="color:black">Hi Gene,<o:p></o:p></span></p>
<p><span style="color:black"><o:p> </o:p></span></p>
<p><span style="color:black">That might not work so well then.  customresponse is used when you embed a custom GeoGebra applet in the problem and talk back forth with the applet using JavaScript.  I'm not sure if there is a way to do partial credit without
 a customresponse.<o:p></o:p></span></p>
<p><span style="color:black"><o:p> </o:p></span></p>
<p><span style="color:black">Jacob<o:p></o:p></span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">
<hr size="3" width="98%" align="center">
</span></div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><b><span style="color:black">From:</span></b><span style="color:black">
<a href="mailto:lon-capa-users-bounces@mail.lon-capa.org">lon-capa-users-bounces@mail.lon-capa.org</a> <<a href="mailto:lon-capa-users-bounces@mail.lon-capa.org">lon-capa-users-bounces@mail.lon-capa.org</a>> on behalf of Harding, Gene L <<a href="mailto:glhardin@purdue.edu">glhardin@purdue.edu</a>><br>
<b>Sent:</b> Wednesday, January 25, 2017 4:18:10 PM<br>
<b>To:</b> Discussion list for LON-CAPA users<br>
<b>Subject:</b> Re: [LON-CAPA-users] Function Plot Response Partial Credit Grading</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif">
<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"> <o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="color:#1F497D">Hi Jacob,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I was using a functionplotresponse because that is the only way I know to call Geogebra. (Pardon my ignorance; I’m very new to this.) Is there a way to mix a functionplotresponse with a customresponse, or is
 there a way to implement the Geogebra functions without using a customplotresponse?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:#1F497D">Gene L. Harding, PE<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Associate Professor of ECET<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">574-520-4190<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Purdue University-South Bend<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> <a href="mailto:lon-capa-users-bounces@mail.lon-capa.org">
lon-capa-users-bounces@mail.lon-capa.org</a> [<a href="mailto:lon-capa-users-bounces@mail.lon-capa.org">mailto:lon-capa-users-bounces@mail.lon-capa.org</a>]
<b>On Behalf Of </b>Jacob Bond<br>
<b>Sent:</b> Wednesday, January 25, 2017 11:50 AM<br>
<b>To:</b> Discussion list for LON-CAPA users <<a href="mailto:lon-capa-users@mail.lon-capa.org">lon-capa-users@mail.lon-capa.org</a>><br>
<b>Subject:</b> Re: [LON-CAPA-users] Function Plot Response Partial Credit Grading<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div id="divtagdefaultwrapper">
<p><span style="font-family:"Calibri",sans-serif;color:black">Hi Gene,<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Yes, there is a way to do partial credit.  If you are already using a customresponse to grade the GeoGebra problems, then it won't be too difficult.  To assign partial credit, you need some kind
 of counter in your answer algorithm to determine how many the student got correct, then just do<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">return ('ASSIGNED_SCORE', $correct/$total);<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">There is an example problem for partial credit, in the templates it is under Free Form Problems and is called Custom Response with Partial Credit.<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">If you want students to be given multiple attempts, you need insert a "Parameters for a part" with this information:<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><parameter name="retrypartial" type="string_yesno" description="Partially correct is answerable" default="yes" /><o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Finally, if you do give them multiple attempts, you shouldn't do `return 'INCORRECT';` as in the example problem, because this will not overwrite their score with a 0.  So if they got one right,
 then moved it, and you did `return 'INCORRECT';`, they would still have a score of 0.166666667.  Instead, the algorithm needs to assign a score of 0, which would be taken care of by the above since `$correct` would be 0.<o:p></o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Jacob<o:p></o:p></span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">
<hr size="3" width="98%" align="center">
</span></div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><b><span style="color:black">From:</span></b><span style="color:black">
<a href="mailto:lon-capa-users-bounces@mail.lon-capa.org">lon-capa-users-bounces@mail.lon-capa.org</a> <<a href="mailto:lon-capa-users-bounces@mail.lon-capa.org">lon-capa-users-bounces@mail.lon-capa.org</a>> on behalf of Harding, Gene L <<a href="mailto:glhardin@purdue.edu">glhardin@purdue.edu</a>><br>
<b>Sent:</b> Wednesday, January 25, 2017 9:56:25 AM<br>
<b>To:</b> 'lon-capa-users@mail.lon-capa.org'<br>
<b>Subject:</b> [LON-CAPA-users] Function Plot Response Partial Credit Grading</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif">
<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"> <o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Sorry for another post, but the problems I have been constructing in recent weeks use areas that are new to me, such as gnuplot and Geogebra. I keep getting close, but not quite finishing some of the new problems.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Right now I am building a quiz question that requires students to place six vectors on a single set of axes. I have figured out how to place the initial vectors for them to move into place, then separately evaluate the correctness of each
 vector. Is there a way to assign 1/6 of the grade for each vector, so if a student places some of them correctly but some incorrectly, they get partial credit on the problem instead of all/none? I thought I might be able to do this with some pre- or post-processing
 of the answer(s), but the standard LON-CAPA examples I have found have no comments in the code, and I have not been able to figure them out (if that is even the right approach…).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best regards,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Gene L. Harding, PE<o:p></o:p></p>
<p class="MsoNormal">Associate Professor of ECET<o:p></o:p></p>
<p class="MsoNormal">574-520-4190<o:p></o:p></p>
<p class="MsoNormal">Purdue University-South Bend<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</body>
</html>