Create question algorithms using the Algorithm Designer

The Algorithm Designer (accessed from within the Algorithm Editor) helps you build algorithmic commands without directly using algorithmic syntax.

The Algorithm Designer has 4 sections that you can complete to build your algorithmic commands:

  • Random Number — Generates random values using range-based variables.

  • Conditional Assignment — Generates explicit values based on defined relationships with other variables.

  • Maple Command — Use Maple commands to define or calculate variables.

  • Condition — Set rules that must be met when Möbius generates random values for variables.

You can complete as many sections as needed, and complete multiple versions of a single section to create multiple variables as needed. Example — Complete 3 iterations of the Random Number section to create 3 different variables.

Random Number section

  1. Enter the name of the variable. Example — n

  2. Select the type of number to be generated from the drop-down list. Example — whole

  3. Enter the lower bound of the numerical range. Example — 1

  4. Enter the upper bound of the numerical range. Example — 10

  5. Enter the increment to be used. Example — 2

  6. Click Add to translate these parameters into algorithmic syntax.

  7. The algorithmic command is translated to algorithmic syntax and is visible in the Algorithm Editor.

Conditional Assignment section

  1. Enter the name of the variable that will be affected if the condition is satisfied. Example — n

  2. Enter the value that the affected variable will be if the condition is satisfied. Example — 3

  3. Enter the name of a second variable that the first variable is dependent on for the condition. Example — j

  4. Select the relation from the drop-down list. Example — equals

  5. Enter the value that the second variable must be to satisfy the condition. Example — 50

  6. Enter the value that the first variable will be if the condition isn't satisfied. Example — 9

  7. Click Add to translate these parameters into algorithmic syntax.

  8. The algorithmic command is translated to algorithmic syntax and is visible in the Algorithm Editor.

Maple Command section

  1. Enter the name of the variable. Example — u

  2. Select the type of variable to generate from the drop-down list. Example — variable

  3. Enter the Maple commands used to define the random variable, or enter the Maple plot statement. Example — diff(x^$n+cos(x), x);

  4. (Optional) If you've created custom Maple commands, click Maple Repository to import and link to a Maple repository from the Class File Manager to reference your commands.

  5. Click Add to translate these parameters into algorithmic syntax including Maple code.

  6. The algorithmic command is translated to algorithmic syntax including Maple code and is visible in the Algorithm Editor.

Condition section

  1. Enter the name of a variable that's to be affected by the condition. Example — j

  2. Select the conditional scenario from the drop-down list. Example — is greater than

  3. Enter the name of a second variable that is affected by the condition, or a specific value. Example — n

  4. Click Add to translate these parameters into algorithmic syntax.

  5. The algorithmic command is translated to algorithmic syntax and is visible in the Algorithm Editor.