[LON-CAPA-users] Setting weight by floating point

Harding, Gene L glhardin at purdue.edu
Sat May 15 21:56:38 EDT 2021

Hi HK,

If I understand your question correctly, you want to set the weight for a homework/quiz problem or problem part. If that is correct, there are multiple ways to do that. I don't know if there is a way to set the default point value in a problem's code, but I normally do it from within the course where the problem is part of quiz/homework, inside a folder.

The most frequent way I use personally is to go to Settings on the top level menu, then Content Settings. In that window, select the folder containing the problem(s). In part 2 you can select which parameters to set, including dates, time limit, weight, etc. I usually go with the defaults plus the Time-limit parameter. Click the Update Display button at bottom left. You will get a window showing those parameters and their current values. Click on the value of the weight parameter and set it to the value you want. I use decimal numbers all the time. Note that the value you specify in this window will apply equally to all problems/parts in the homework/quiz in that folder. For instance, if you have a quiz with four problems, each having two parts, and want a 100-point quiz, set the Weight to 12.5. Each part will be worth 12.5 points, making each problem worth 25 points, making the quiz worth a total of 100 points.

Occasionally, I have a need to set problem parts to different values, rather than distributing the points equally across the parts. To do that, navigate to the problem from the high-level Contents tab, then select Content Settings on the Functions line. In the table that opens, you can set the point value applied to each problem. Or, if you check the Show all parts box and Update Display button, you can set the weight individually for each problem part.

Hope that helps.

Best regards,

Gene L. Harding, PE
Associate Professor of ECET

From: LON-CAPA-users <lon-capa-users-bounces at mail.lon-capa.org> On Behalf Of H.K. Ng via LON-CAPA-users
Sent: Friday, May 14, 2021 6:55 PM
To: Discussion list for LON-CAPA users <lon-capa-users at mail.lon-capa.org>
Subject: [LON-CAPA-users] Setting weight by floating point


How does one set the weight by floating point? I have a course that is set that way but I can't remember how that was done. My current course only has options for integers ... Thanks.


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

More information about the LON-CAPA-users mailing list