30 results in How-tos - search across all projects.
-
Question
Should not be used: this relies on a custom JavaScript which is not guaranteed to continue working.
Wrap the student's answer in
set()
so it's marked as a set. -
Question
A couple of different ways of showing the correct answer to a single part as soon as the student submits an answer. One way allows the student to change their answer, while the other locks the part.
A third part includes a "reveal answers to this part" button, which allows the student to choose to reveal the answer to the part.
Think very carefully before using this: by revealing the answer, you are removing the opportunity for the student to later on realise they've got that step wrong, as a consequence of some further work. It's often possible to use adaptive marking to use the student's answer in place of the correct answer in later parts.
-
Question
Obosolete: there's now a built-in function
sort_by
.Defines a custom function sort_by to sort a list of lists by the elements at the given index.
You could do a similar thing to sort lists of dictionaries.
-
Question
You can use LaTeX in marking comments, but remember to escape backslashes!
-
Question
Should not be used: there's now a built-in function
frequencies
.This question randomly generates a list of 100 items, each chosen from a list of strings.
It then computes the number of occurrences of each distinct item in the list. The statement shows the frequencies in a table.
-
Question
No description given
-
Question
This question shows how to load a GeoGebra applet from geogebra.org.
-
Exam (3 questions)
This exam uses a custom theme to provide no feedback about scores to the student.
The idea is to provide a version of the test compiled with this theme to the students as they attempt it. Once the test has closed, update with a version of the same test compiled with the default theme, so students can go back in and get feedback.
-
Question
Call a custom function from another javascript custom function by using
scope.evaluate
-
Question
No description given
-
Question
Demo question showing how to use the matrix maths functions in JavaScript.
-
Question
Get the student to upload their experimental data in a CSV file, then ask them to compute statistics on it.
-
Question
Defines a CSS class in the preamble which styles the "Lemma" environment, used in the statement.
-
Question
Demonstrates that the marking algorithm for "match text pattern" parts doesn't put quotes around substituted strings any more.
-
Question
One way of checking an equation is valid is to check that the difference between the LHS and RHS is 0.
-
Question
In progress!
-
Question
No description given
-
Question
Do not use this: JME marking algorithms are the best way to change marking behaviour now, instead of JavaScript.
A very simple example of a custom marking script for a "choose one from a list" part
-
Question
Using a shuffled list variable to randomise the order of all options in a multiple choice part except the last one.
-
Question
Do not use this: adaptive marking is the best way to access the student's answer to another part.
Shows how to retrieve the student's answer to another part from a custom marking script.
-
Question
Do not use this: alternative answers are the best way of accepting multiple correct answers.
-
Question
Student is asked whether a quadratic equation can be factorised. If they say "yes", they're asked to give the factorisation.
-
Question
A couple of different ways of asking the student to enter a large number, to get around the floating point imprecision problem.
-
Question
No description given
-
Question
Use the numbro.js extension to format numbers and currencies.
-
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.
-
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.
-
A randomised line in a GeoGebra worksheet - construct the definition of the line manually Should not be usedQuestion
Construct a line in a GeoGebra worksheet by writing its definition string by hand.
This isn't a very neat way of doing this. It's easier to define two points in GeoGebra, then make a line through those points. You can set the positions of the points from Numbas using vectors.