Sub topic 6
Scoring, Pass Marks, and Attempt Limits
Assume you understand lessons, modules, and the basic operation of a learning management system (LMS). You should also know how to create quiz questions and connect them to learning objectives. This chapter focuses on turning learner answers into fair, useful results.
Choose a scoring rule
A scoring rule defines how many points a learner earns for an answer. Use the simplest rule that matches the question and the learning objective.
- All-or-nothing scoring awards points only when the answer is completely correct.
- Partial-credit scoring awards some points for a partly correct answer.
- Weighted scoring gives more important questions more points.
- Manual scoring lets an instructor judge answers such as essays or project submissions.
For a single-choice question, all-or-nothing scoring is usually clear. For a multi-select question, decide whether selecting one correct option without selecting the others should earn credit. State this rule before the learner begins.
The following JavaScript scorer awards one point only when the selected choices exactly match the correct choices:
function scoreQuestion(question, selected) {
const correct = new Set(question.correct);
const chosen = new Set(selected);
if (correct.size !== chosen.size) return 0;
for (const id of chosen) {
if (!correct.has(id)) return 0;
}
return 1;
}
function scoreQuiz(questions, answers, passMark = 0.7) {
const total = questions.length;
const earned = questions.reduce(
(sum, question) =>
sum + scoreQuestion(question, answers[question.id] ?? []),
0
);
const ratio = total > 0 ? earned / total : 0;
return {
earned,
total,
percentage: Math.round(ratio * 100),
passed: ratio >= passMark
};
}The empty-answer fallback prevents a missing response from causing a program error. The empty-quiz check prevents division by zero.
Set a pass mark
A pass mark is the minimum score required to pass. Set it from the purpose of the quiz, not from an arbitrary convention.
| Quiz purpose | Possible rule | Reason |
|---|---|---|
| Practice during a lesson | No pass mark | Learners need feedback, not permission to continue |
| Knowledge check | 70% | The learner should show general understanding |
| Safety or compliance check | 80–100% | Missing one critical idea may create risk |
| Final certification assessment | Defined by the governing standard | The result may need to meet an external requirement |
A percentage alone can hide weak knowledge. A learner might pass a ten-question quiz by answering seven questions correctly while missing a safety-critical question. Add question-level rules when some objectives matter more than others.
Limit attempts deliberately
Attempt limits control how many times a learner may submit a quiz. Unlimited attempts work well for low-stakes practice. A final assessment may allow one attempt, or a limited number with a review period.
Record these settings explicitly:
- Number of allowed attempts
- Whether the highest, latest, or average score counts
- Whether questions and answer choices are randomized
- Whether feedback appears after each attempt
- Whether a failed attempt requires instructor review
- Whether a waiting period applies before another attempt
Randomization reduces answer sharing, but it can make two attempts feel different in difficulty. Test the question pool to ensure that every possible version measures the same objectives.
Apply the settings in a learner flow
Use formative quizzes to reveal gaps and guide the next lesson. Use summative quizzes to make a final judgment. In both cases, explain the result in terms of the learning objectives.
Exercise
A ten-question practice quiz has a 70% pass mark and unlimited attempts. A learner earns 6 points. What should the system do?
Show answer
Mark the attempt as below the pass mark, show useful feedback, and allow another attempt. The learner needs at least 7 points to pass.