107 results in How-tos - search across all projects.

### Refine by Refine by

• #### Topics

• Question

A demonstration of how to use the "variable list of choices" option for a "choose one from a list" part to shuffle only some of the choices, and always have the same "I don't know" choice at the end of the list.

• Question

The student is asked to factorise a quadratic $x^2 + ax + b$. A custom marking script uses pattern matching to ensure that the student's answer is of the form $(x+a)(x+b)$, $(x+a)^2$, or $x(x+a)$.

To find the script, look in the Scripts tab of part a.

• Question
The matrix entry part in this question marks any symmetric matrix as correct, using a custom marking algorithm. A matrix is symmetric if it is equal to its transpose.
• Question

The student is given a value of $\cos(\theta)$ and has to find $\theta$.

Shows how to use subexpressions to represent randomly-chosen fractions of $\pi$ and surds, and have them displayed nicely.

• Question

This shows how to define a question variable whose value is a variable name with a few annotations added, so it's more convenient to use.

The question variable 'x' is defined to be the variable name vec:underline:x.

• Question

Use the bareMatrices display flag to render a matrix without wrapping it in parentheses.

• Question

A diagram showing the difference between lines, rays and segments in Eukleides.

• Question

This question shows how to use the 'adviceDisplayed' signal to run some javascript when the question's advice is revealed to the student.

• Question

No description given

• Question

Choose from one of several pre-defined scenarios, and set variables to the corresponding values.

This question has three variables: city, population, and percent_like_chocolate. These differ for each city.

• Question

The gap-fill part in this question is only marked correct if both gaps are correct.

The feedback from the individual gaps is not shown.

• Question

An example of using the GeoGebra extension to ask the student to create a geometric construction, with marking and steps.

• Question

Demonstrates how to create variables containing LaTeX commands, and how to use them in the question text.

• Question

No description given

• Question
A custom marking algorithm picks out the names of the constants of integration that the student has used for the $\cos$ and $\sin$ terms in their answer, and replaces them with $A$ and $B$ respectively, before comparing with the correct answer. This way, the student is free to choose the names for their constants of integration.
• Question

This question contains a "choose several answers" part which has an "all-or-nothing" mark scheme: the student is only awarded marks if they tick all of the correct choices, and no incorrect choices.

• Question

Demonstrates how to set up a "choose one from a list" part where the number of choices is randomised.

The part is given a list of labels for the choices as well as a list specifying the marks to award for each choice.

• Question
This question demonstrates how to use the \simplify command to create natural-looking randomised mathematical expressions.
• Question
The statement of this question demonstrates how you can control the \simplify command's behaviour by specifying the rules to use.
• Question

Display a number as a mixed fraction when appropriate, using the mixedFractions display option.

• Question

No description given

• CSS Lemma environment
Should not be used
Question

Defines a CSS class in the preamble which styles the "Lemma" environment, used in the statement.

• Displaying a dollar sign
Should not be used
Question

Demonstrating that \\$ produces a normal dollar sign.

• Question

Use the CSS preamble to give a bit more space between multiple choice answers.

• Random strings with randexp
Should not be used
Question

The function randexp, provided by an extension, generates a random string matching the given regular expression.

• Question

Update: you can now use the conditional visibility button to do this more easily - see the documentation.

If the statement or advice for your question differs greatly depending on a random variable (for instance, if you're picking from a selection of scenarios), you only want to show content for the relevant scenario.

This question shows one way of doing that.

• Question

This question is out of date: use the currency function instead.

• Style a table of sales figures
Should not be used
Question

A randomised table is contained in a div tag with the id #sales-table, so it can be styled using the CSS preamble.

• Question

CSS classes "english" and "cymraeg" apply different background colours to English and Welsh portions of text.

• Question

Display a number like "1234" as "1,234".

This question is out of date: the formatnumber function can format numbers using several different notational styles.