Opening the book…
WeBWorK's power is not a single feature, but a stable combination: algorithmic question setup, structured answer checking, and readable authoring of the student prompt.
What matters for authors
- PGML for prompt authoring (recommended): readable markup, math delimiters, and answer blanks (see PGML (PG Markup Language)).
- MathObjects for robust parsing and checking of student answers (numeric, formulas, lists).
- Randomization primitives (e.g.,
random()) to generate variants while keeping the scoring rules identical (see Advanced Randomization Techniques). - Multiple answer interaction types via macros (numeric answers, formulas, radio buttons, etc.).
If you are new, focus first on PGML, numeric answer checking, and fixed-seed previewing (see Testing and Debugging for testing and debugging); everything else can wait.
Use this page as a checklist when you plan a new problem so you do not overbuild the setup.
What matters for life-science prompts
- Prompts that mix words, values, and math without fragile escaping.
- Tables for small datasets (measurements, lanes, conditions) in a readable format.
- Common biology workflows such as concentrations, dilutions, rates, and fold change.
- Clear expectations about units, rounding, and accepted formats to reduce grading disputes.
Tradeoffs and constraints
- There is setup cost (macros, contexts, and answer checkers), so templates matter.
- Randomization needs constraints and previewing to avoid broken variants.
- Auto-grading is only as clear as your reporting rules (units, rounding, accepted text variants).
Apply it today
- Pick the interaction first, then keep setup minimal and write the student-facing prompt in PGML.
- Write one biology-native task (a dilution, a rate, or a fold change) and decide the reporting rule up front.
Next step: use Comparing WeBWorK to other formats to choose WeBWorK versus another format for a specific activity.
This page titled 1.3: Key Features of WeBWorK was last modified on Fri, 27 Feb 2026 14:30:24 GMT and is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Neil R. Voss.
The book could not be loaded just now.