Problem Templates

From WeBWorK_wiki
Jump to navigation Jump to search

A collection of Problem Templates was developed to aid in the writing of new problems.


Basic WeBWorK Problem Templates

Sample Problems
Problem Description Source code
A first problem This sample problem shows the basic structure of a WeBWorK PG problem file and how it is constructed. add
A second problem This sample problem shows how to write three commonly used problem types: formulas making use of more of the MathObjects Formula functionality, multiple choice, and string entry problems. add.
A third problem This sample problem shows how to write problems that include simple dynamically generated graphs. add
A fourth problem This sample problem illustrates the basics of how to use PGML commands to layout a question. add

Templates by Subject Area

The Templates by Subject Area contains a collection of templates organized by subject area. Some shortcuts are listed here for your convenience.

Macro file examples

Macro_file_template

Index of Problem Coding Techniques

Problem coding techniques are listed in alphabetical order on the Problem Techniques page.