[LON-CAPA-users] Can a problem be used to upload a Letter Grade? - THANKS FOR THE HELP!
Alison A Baski/FS/VCU
lon-capa-users@mail.lon-capa.org
Tue, 15 Dec 2009 15:26:18 -0500
This is a multipart message in MIME format.
--=_alternative 0070456D8525768D_=
Content-Type: text/plain; charset="US-ASCII"
Hello,
Thanks to Mark and HK for the help in learning how to post letter grades.
Have a great holiday!
Alison
Mark Lucas <lucasm@ohio.edu>
Sent by: lon-capa-users-admin@mail.lon-capa.org
12/15/2009 12:17 PM
Please respond to
lon-capa-users@mail.lon-capa.org
To
lon-capa-users@mail.lon-capa.org
cc
Subject
Re: [LON-CAPA-users] Can a problem be used to upload a Letter Grade?
Alison,
I use a bit of perl to display letter grades. You upload a number that
then is represented
to the student as a grade. Here is the text of one of the sample problems.
I do not know of
a simple way to upload a textual value directly.
The only option that I know of for providing personalized feedback en
masse is by sending
out a message from a file. There is a scheme by which you can prepend a
student's username
to the beginning of the line and have that text only go to that student.
Mark
<problem>
<parameter name="handgrade" id="11" default="yes" type="string_yesno"
description="Hand Grade" />
<script type="loncapa/perl">
$weight=&EXT('resource.0.weight');
if ((!defined($weight)) || ($weight eq '')) { $weight=1; }
$awarded=&EXT('user.resource.resource.0.awarded');
if (!defined($awarded)) { $awarded=0; }
$index = $weight*$awarded;
%grades = ( 1=>"A", 2=>"A-", 3=>"B+", 4=>"B", 5=>"B-", 6=>"C+", 7=>"C",
8=>"C-", 9=>"D+", 10=>"D", 11=>"D-", 12=>"F", 13=>"FN",
14=>"FN",
15=>"WP", 16=>"WF", 17=>"Incomplete",0=>"(Not Available)");
$lettergrade = $grades{$index};
</script>
<startouttext />
<p>You earned a letter grade of <display>$lettergrade</display> for the
course.</p>
<p>I am careful with posting grades, but sometimes I make an error. If
there is a discrepancy between this grade and the grade from the
registrar, the
grade from the registrar is the definitive grade. Please inquire about the
letter grade and I will check where the mistake is, but a mistake on my
part does not mean you
get to choose your grade.</p>
<endouttext />
<block condition="0"><numericalresponse id="score" /></block>
</problem>
On Dec 14, 2009, at 10:59 AM, Alison A Baski/FS/VCU wrote:
Hello,
I am trying to use LON-CAPA to distribute end-of-semester grades and was
wondering if a problem can be coded for uploading a letter grade.
The numerical scores are already loaded, but it would be nice to also
upload the letter grade.
Thanks,
Alison
--
Mark Lucas email: lucasm@ohiou.edu
252D Clippinger Lab phone: (740)597-2984
Department of Physics and Astronomy fax: (740)593-0433
Ohio University
Athens, OH 45701
--=_alternative 0070456D8525768D_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">Hello,</font>
<br><font size=2 face="sans-serif">Thanks to Mark and HK for the help in
learning how to post letter grades. </font>
<br><font size=2 face="sans-serif">Have a great holiday!</font>
<br><font size=2 face="sans-serif">Alison</font>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Mark Lucas <lucasm@ohio.edu></b>
</font>
<br><font size=1 face="sans-serif">Sent by: lon-capa-users-admin@mail.lon-capa.org</font>
<p><font size=1 face="sans-serif">12/15/2009 12:17 PM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
lon-capa-users@mail.lon-capa.org</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">lon-capa-users@mail.lon-capa.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [LON-CAPA-users] Can a problem be
used to upload a Letter Grade?</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=3>Alison,</font>
<br>
<br><font size=3>I use a bit of perl to display letter grades. You upload
a number that then is represented </font>
<br><font size=3>to the student as a grade. Here is the text of one of
the sample problems. I do not know of</font>
<br><font size=3>a simple way to upload a textual value directly.</font>
<br>
<br><font size=3>The only option that I know of for providing personalized
feedback en masse is by sending</font>
<br><font size=3>out a message from a file. There is a scheme by which
you can prepend a student's username</font>
<br><font size=3>to the beginning of the line and have that text only go
to that student. </font>
<br>
<br><font size=3>Mark</font>
<br>
<br><font size=3><problem></font>
<br><font size=3><parameter name="handgrade" id="11"
default="yes" type="string_yesno" description="Hand
Grade" /></font>
<br><font size=3><script type="loncapa/perl"></font>
<br><font size=3>$weight=&EXT('resource.0.weight');</font>
<br><font size=3>if ((!defined($weight)) || ($weight eq '')) { $weight=1;
}</font>
<br><font size=3>$awarded=&EXT('user.resource.resource.0.awarded');</font>
<br><font size=3>if (!defined($awarded)) { $awarded=0; }</font>
<br>
<br><font size=3>$index = $weight*$awarded;</font>
<br><font size=3>%grades = ( 1=>"A", 2=>"A-",
3=>"B+", 4=>"B", 5=>"B-", 6=>"C+",
7=>"C",</font>
<br><font size=3> 8=>"C-",
9=>"D+", 10=>"D", 11=>"D-", 12=>"F",
13=>"FN", 14=>"FN",</font>
<br><font size=3> 15=>"WP",
16=>"WF", 17=>"Incomplete",0=>"(Not Available)");</font>
<br><font size=3>$lettergrade = $grades{$index};</font>
<br><font size=3></script></font>
<br><font size=3><startouttext /></font>
<br><font size=3><p>You earned a letter grade of <display>$lettergrade</display>
for the course.</p></font>
<br>
<br><font size=3><p>I am careful with posting grades, but sometimes
I make an error. If there is a discrepancy between this grade and the grade
from the registrar, the</font>
<br><font size=3>grade from the registrar is the definitive grade. Please
inquire about the letter grade and I will check where the mistake is, but
a mistake on my part does not mean you</font>
<br><font size=3>get to choose your grade.</p></font>
<br><font size=3><endouttext /></font>
<br><font size=3><block condition="0"><numericalresponse
id="score" /></block></font>
<br><font size=3></problem></font>
<br>
<br>
<br>
<br><font size=3>On Dec 14, 2009, at 10:59 AM, Alison A Baski/FS/VCU wrote:</font>
<br>
<br><font size=2 face="sans-serif"><br>
Hello,</font><font size=3> </font><font size=2 face="sans-serif"><br>
I am trying to use LON-CAPA to distribute end-of-semester grades and was
wondering if a problem can be coded for uploading a letter grade.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
The numerical scores are already loaded, but it would be nice to also upload
the letter grade.</font><font size=3> </font><font size=2 face="sans-serif"><br>
Thanks,</font><font size=3> </font><font size=2 face="sans-serif"><br>
Alison</font><font size=3> <br>
</font>
<br>
<br><font size=3>-- <br>
Mark Lucas email: </font><a href=mailto:lucasm@ohiou.edu><font size=3 color=blue><u>lucasm@ohiou.edu</u></font></a><font size=3><br>
252D Clippinger Lab phone: (740)597-2984<br>
Department of Physics and Astronomy fax: (740)593-0433<br>
Ohio University<br>
Athens, OH 45701</font>
<br>
<br>
--=_alternative 0070456D8525768D_=--