How to create an advanced dynamical problem


This tutorial will show you how to create an advanced dynamical problems supported by an applet.

As an example we will use the following problem:

Consider the function:

f(x) := [a]x^2 + [b]x + [c]

a). List all roots of f(x)

b). Calculate f(x) for x = [d]

Note: [a], [b], [c] and [d] should be randomized/personalized


An advanced dynamical problem normally consists of a problem tex, a java applet and a corrector.
These three communicates with one another through an XML-File called the datasheet. The Problem Tex will generate a datasheet that contains problem specific data such as the Personalized Problem Data(PPD). The Applet reads this datasheet to display the problem with the personalized data. When a student saves her/his answer, the applet adds the answer into the datasheet. When the corrector is activated, it reads both the answer and the problem data and compare the user's answers with the expected solution according to the personalized problem data.


This tutorial will provide you with a step by step guide in implementing the example problem mentioned above.
  1. Preparation - Create the applet, corrector and problem tex document
  2. Write the problem Tex
  3. Write the applet
  4. Write the corrector

datasheet.png (23.9 KB) Marek Grudzinski, 04/07/2013 11:49 AM

datasheet2.png (18.7 KB) Marek Grudzinski, 04/07/2013 11:49 AM

Datasheet Datasheet2
Add picture from clipboard (Maximum size: 500 MB)