[LON-CAPA-users] Function Plot Response Partial Credit Grading

Harding, Gene L glhardin at purdue.edu
Wed Jan 25 17:05:21 EST 2017


Sorry, I meant functionplotresponse, not customplotresponse.

Gene L. Harding, PE
Associate Professor of ECET
574-520-4190
Purdue University-South Bend

From: lon-capa-users-bounces at mail.lon-capa.org [mailto:lon-capa-users-bounces at mail.lon-capa.org] On Behalf Of Harding, Gene L
Sent: Wednesday, January 25, 2017 4:18 PM
To: Discussion list for LON-CAPA users <lon-capa-users at mail.lon-capa.org>
Subject: Re: [LON-CAPA-users] Function Plot Response Partial Credit Grading

Hi Jacob,

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?

Thanks,

Gene L. Harding, PE
Associate Professor of ECET
574-520-4190
Purdue University-South Bend

From: lon-capa-users-bounces at mail.lon-capa.org<mailto:lon-capa-users-bounces at mail.lon-capa.org> [mailto:lon-capa-users-bounces at mail.lon-capa.org] On Behalf Of Jacob Bond
Sent: Wednesday, January 25, 2017 11:50 AM
To: Discussion list for LON-CAPA users <lon-capa-users at mail.lon-capa.org<mailto:lon-capa-users at mail.lon-capa.org>>
Subject: Re: [LON-CAPA-users] Function Plot Response Partial Credit Grading


Hi Gene,



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



return ('ASSIGNED_SCORE', $correct/$total);



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.



If you want students to be given multiple attempts, you need insert a "Parameters for a part" with this information:



<parameter name="retrypartial" type="string_yesno" description="Partially correct is answerable" default="yes" />



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.



Jacob

________________________________
From: lon-capa-users-bounces at mail.lon-capa.org<mailto:lon-capa-users-bounces at mail.lon-capa.org> <lon-capa-users-bounces at mail.lon-capa.org<mailto:lon-capa-users-bounces at mail.lon-capa.org>> on behalf of Harding, Gene L <glhardin at purdue.edu<mailto:glhardin at purdue.edu>>
Sent: Wednesday, January 25, 2017 9:56:25 AM
To: 'lon-capa-users at mail.lon-capa.org'
Subject: [LON-CAPA-users] Function Plot Response Partial Credit Grading

Hi,

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.

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...).

Best regards,

Gene L. Harding, PE
Associate Professor of ECET
574-520-4190
Purdue University-South Bend

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.lon-capa.org/pipermail/lon-capa-users/attachments/20170125/5fa21f85/attachment-0001.html>


More information about the LON-CAPA-users mailing list