Make your own code


What kinds of codes can I make?

You can make two kinds of code:
  1. A math code like this, in pdf format. You can set many of the qualities of this, including the code message and math level.
  2. A symbols code like this, in pdf format.

What input must I provide?

To make a math code, you must give input on two screens. On the first screen, you must set the following:
  1. the number of math codes (sections) you want to make,
  2. the type of document you want (PDF or postscript), and
  3. whether or not you want the last page of the document to be an answer key.
Additionally, you may also give the document a title, to appear in bold on the first page. The last set of inputs on the first screen allows you to set the defaults for each section of the second screen. For example, if you want each code in your document to use the operators "+" and "-", then you can set this on the first screen and each section in the second screen will have those set.

On the second screen you set the following for each code (or section):

  1. the title for that section, to appear at the top in large letters,
  2. instructions for that section, to appear under the title in italics,
  3. the secret code itself, and
  4. whether you want a symbol code (with no math problems) or a math code.
If a math code is chosen, you must set the following:
  1. the mathematical operators to use (to use more than one, hold down the Ctrl button while clicking with your mouse),
  2. the ranges for the operands (in "3 + 5 = 8" the operands are 3 and 5),
  3. the problem layout (vertical means stacked, horizontal is like "3 + 5 = "),
  4. (if subtraction is used) whether or not negative answers are allowed, and
  5. (if division is used) whether or not fractional (non-integer) answers are allowed.

Examples

Ideas

Errors

The program will return an error if you specify a secret message that is too long for the number of possible answers. For example, if your secret message is "This is a really long secret" (23 characters) but you specify the "+" operator with operands from 1 to 5 and 1 to 5 (only 9 possible answers), then each character cannot have a unique answer associated with it. So, for example, the answer 4 would need to be assigned to at least two characters, making the code breaking process impossible. If you want a long secret message, then you have to provide enough possible answers by adjusting the ranges of the operands.

Background

This code generator is based on the math worksheet generator PMathgen, by Kenneth Knowles. I added the feature that lets you create secret coded messages after my son Craig kept asking for more and more secret math codes. I'd be glad to send you the source. Just email me. Please let me know if you find this program useful. I'd love to hear how you use it.


Go To Andy Felt's homepage.

You may find my email address in the following directory.

Page author: Andy Felt

Last modified: 21 Jan., 2004