43 results.
-
Question in How-tos
The function randexp, provided by an extension, generates a random string matching the given regular expression.
-
Question in How-tos
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 in How-tos
The custom function
rectangle(width,height)
draws a rectangle with the given dimensions, along with some labels. -
Question in Demos
No description given
-
Question in Demos
No description given
-
Question in How-tos
This question adds a CSS rule to hide the brackets around the matrix input.
-
Question in How-tos
Show one of several blocks of text depending on the value of a question variable.
As well as a simple check for the value of a variable, the condition to display a block of text can be a complex expression in any of the question variables - in this example, depending on the discriminant of the generated quadratic.
-
Question in How-tos
Student is given a few numbers to choose from. They must pick at least two, and then give the sum of their chosen numbers.
-
Question in Christian's workspace
Parts with zero marks now show a tick or cross as appropriate, even though they don't contribute to the total score.
-
Question in Christian's workspace
Tiny demo question for the polynomials extension.
It's important to wrap the student's answer in
polynomial()
in the marking script, otherwise the marking doesn't work. -
Question in Ricardo's workspace
No description given
-
Question in Piotr's workspace
No description given
-
Question in David's workspace
The custom function
rectangle(width,height)
draws a rectangle with the given dimensions, along with some labels.